瀏覽代碼

Missing redirection

Bob Mottram 10 年之前
父節點
當前提交
95e402e439
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

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