From 95e402e439cc095b7ce30f814288b1a84a92c7b9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 13 Dec 2014 19:01:17 +0000 Subject: [PATCH] Missing redirection --- install-freedombone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 96294a3f..ccf927fa 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -909,7 +909,7 @@ function create_restore_script { echo ' fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo " rsyncrypto -v -d -r $USB_MOUNT/backup/mariadb /root/tempmariadb $USB_MOUNT/backup/mariadb.keys $BACKUP_CERTIFICATE" >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' echo "Get the MariaDB password from the backup"' >> /usr/bin/$RESTORE_SCRIPT_NAME - echo ' if [ ! -f /root/tempmariadb/usb/backup/mariadb/db ]; then' + echo ' if [ ! -f /root/tempmariadb/usb/backup/mariadb/db ]; then' >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' echo "MariaDB password file not found"' >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' exit 495' >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' fi' >> /usr/bin/$RESTORE_SCRIPT_NAME