From eb8f664bf53fa8ba110005cf91a5c7e81a7673ba Mon Sep 17 00:00:00 2001 From: cimryan Date: Wed, 24 Oct 2018 19:28:44 -0700 Subject: [PATCH] Fix negation in check for existing backing files. --- setup-teslausb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-teslausb b/setup-teslausb index 4d0cb87..8c0d6b1 100644 --- a/setup-teslausb +++ b/setup-teslausb @@ -102,7 +102,7 @@ function create_usb_drive_backing_files () { echo "Mounted the partition for the backing files." fi - if [! -e /backingfiles/*.bin ] + if [ ! -e /backingfiles/*.bin ] then /tmp/create-backingfiles.sh "$campercent" "$BACKINGFILES_MOUNTPOINT" fi