mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
update comment
This commit is contained in:
parent
563aa46665
commit
3cf0099ed6
@ -226,10 +226,10 @@ gdrive_upload() {
|
||||
# Tranferring backup file to FTP server
|
||||
ftp_upload() {
|
||||
if ${FTP_FLG}; then
|
||||
[ -z ${FTP_HOST} ] && echo "Error: FTP_HOST can not be empty!" && exit 1
|
||||
[ -z ${FTP_USER} ] && echo "Error: FTP_USER can not be empty!" && exit 1
|
||||
[ -z ${FTP_PASS} ] && echo "Error: FTP_PASS can not be empty!" && exit 1
|
||||
[ -z ${FTP_DIR} ] && echo "Error: FTP_DIR can not be empty!" && exit 1
|
||||
[ -z ${FTP_HOST} ] && log "Error: FTP_HOST can not be empty!" && exit 1
|
||||
[ -z ${FTP_USER} ] && log "Error: FTP_USER can not be empty!" && exit 1
|
||||
[ -z ${FTP_PASS} ] && log "Error: FTP_PASS can not be empty!" && exit 1
|
||||
[ -z ${FTP_DIR} ] && log "Error: FTP_DIR can not be empty!" && exit 1
|
||||
|
||||
local FTP_OUT_FILE=$(basename ${OUT_FILE})
|
||||
log "Tranferring backup file to FTP server"
|
||||
|
Loading…
x
Reference in New Issue
Block a user