From fbcfa8b349be423f03fa25a81254a0fe99ffefb1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 8 Jun 2015 19:17:10 +0100 Subject: [PATCH] Single quotes --- src/freedombone | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone b/src/freedombone index 25d4eccf..38da067c 100755 --- a/src/freedombone +++ b/src/freedombone @@ -1574,7 +1574,7 @@ function create_backup_script { echo '' >> /usr/bin/$BACKUP_SCRIPT_NAME echo "umount -f $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME echo "mkdir $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME - echo "cryptsetup luksOpen $USB_DRIVE encrypted_usb" >> /usr/bin/$BACKUP_SCRIPT_NAME + echo 'cryptsetup luksOpen $USB_DRIVE encrypted_usb' >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'if [ "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME echo ' USB_DRIVE=/dev/mapper/encrypted_usb' >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'fi' >> /usr/bin/$BACKUP_SCRIPT_NAME @@ -2185,7 +2185,7 @@ function create_restore_script { echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME echo "if [ ! -d $USB_MOUNT ]; then" >> /usr/bin/$RESTORE_SCRIPT_NAME echo " mkdir $USB_MOUNT" >> /usr/bin/$RESTORE_SCRIPT_NAME - echo " cryptsetup luksOpen $USB_DRIVE encrypted_usb" >> /usr/bin/$BACKUP_SCRIPT_NAME + echo ' cryptsetup luksOpen $USB_DRIVE encrypted_usb' >> /usr/bin/$BACKUP_SCRIPT_NAME echo ' if [ "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME echo ' USB_DRIVE=/dev/mapper/encrypted_usb' >> /usr/bin/$BACKUP_SCRIPT_NAME echo ' fi' >> /usr/bin/$BACKUP_SCRIPT_NAME