Browse Source

Missing redirection

Bob Mottram 10 years ago
parent
commit
95e402e439
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh View File

@@ -909,7 +909,7 @@ function create_restore_script {
909 909
       echo '    fi' >> /usr/bin/$RESTORE_SCRIPT_NAME
910 910
       echo "    rsyncrypto -v -d -r $USB_MOUNT/backup/mariadb /root/tempmariadb $USB_MOUNT/backup/mariadb.keys $BACKUP_CERTIFICATE" >> /usr/bin/$RESTORE_SCRIPT_NAME
911 911
       echo '    echo "Get the MariaDB password from the backup"' >> /usr/bin/$RESTORE_SCRIPT_NAME
912
-      echo '    if [ ! -f /root/tempmariadb/usb/backup/mariadb/db ]; then'
912
+      echo '    if [ ! -f /root/tempmariadb/usb/backup/mariadb/db ]; then' >> /usr/bin/$RESTORE_SCRIPT_NAME
913 913
       echo '      echo "MariaDB password file not found"' >> /usr/bin/$RESTORE_SCRIPT_NAME
914 914
       echo '      exit 495' >> /usr/bin/$RESTORE_SCRIPT_NAME
915 915
       echo '    fi' >> /usr/bin/$RESTORE_SCRIPT_NAME