diff --git a/src/freedombone b/src/freedombone index e29d62e5..6deed423 100755 --- a/src/freedombone +++ b/src/freedombone @@ -2125,6 +2125,7 @@ function create_backup_script { fi echo 'sync' >> /usr/bin/$BACKUP_SCRIPT_NAME + echo 'ls -lh $USB_MOUNT/backup' >> /usr/bin/$BACKUP_SCRIPT_NAME echo "umount $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'if [ ! "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME echo ' echo "Unable to unmount the drive. This means that the backup did not work"' >> /usr/bin/$BACKUP_SCRIPT_NAME