forked from URZ/admin-tools
Suppress various output
This commit is contained in:
@@ -82,9 +82,9 @@ if [[ -n "$FTPHOST" ]]; then
|
|||||||
|
|
||||||
cd $BACKUP_PATH || exit 1
|
cd $BACKUP_PATH || exit 1
|
||||||
rm -f "$BACKUP_FILE.gz.gpg"
|
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 USER anonymous
|
||||||
quote PASS anonymous@anonymous.com
|
quote PASS anonymous@anonymous.com
|
||||||
cd $FTPDIR
|
cd $FTPDIR
|
||||||
|
|||||||
Reference in New Issue
Block a user