Suppress various output

This commit is contained in:
2023-08-02 08:15:40 +02:00
parent 74743829f7
commit fb76fc8d1a

View File

@@ -82,9 +82,9 @@ if [[ -n "$FTPHOST" ]]; then
cd $BACKUP_PATH || exit 1
rm -f "$BACKUP_FILE.gz.gpg"
gpg --encrypt -r "$GPGKEY" --trusted-key "$GPGKEY" "$BACKUP_FILE.gz"
gpg --quiet --encrypt -r "$GPGKEY" --trusted-key "$GPGKEY" "$BACKUP_FILE.gz" >/dev/null
ftp -p -n "$FTPHOST" <<EOI
ftp -p -n "$FTPHOST" >/dev/null <<EOI
quote USER anonymous
quote PASS anonymous@anonymous.com
cd $FTPDIR