Check for actual backing files before deciding whether or not to create them.

This commit is contained in:
cimryan
2018-10-24 19:07:46 -07:00
parent 2b7d155372
commit cdcb9cd920

View File

@@ -102,7 +102,7 @@ function create_usb_drive_backing_files () {
echo "Mounted the partition for the backing files."
fi
if [! -e /backingfiles/* ]
if [! -e /backingfiles/*.bin ]
then
/tmp/create-backingfiles.sh "$campercent" "$BACKINGFILES_MOUNTPOINT"
fi