From 112ad3baf2747e75837d35d5a57690aaa3b718c3 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Fri, 23 Nov 2018 19:12:56 +0900 Subject: [PATCH] Fixed bind: Address already in use problem when use ftp command Signed-off-by: Teddysun --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index e7cf326..db6332e 100644 --- a/backup.sh +++ b/backup.sh @@ -241,7 +241,7 @@ ftp_upload() { local FTP_OUT_FILE=$(basename ${OUT_FILE}) log "Tranferring backup file to FTP server" - ftp -in ${FTP_HOST} 2>&1 >> ${LOGFILE} <&1 >> ${LOGFILE} <