Quellcode durchsuchen

Missing redirection

Bob Mottram vor 10 Jahren
Ursprung
Commit
95e402e439
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh Datei anzeigen

@@ -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