mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
updated error code table
This commit is contained in:
parent
6dbd3ad849
commit
2dce1a5de4
10 changed files with 51 additions and 51 deletions
|
@ -529,7 +529,7 @@ ftp_backup() {
|
|||
if [ ! -e "$VESTA/conf/ftp.backup.conf" ]; then
|
||||
ftp_conf_error="Can't open $VESTA/conf/ftp.backup.conf"
|
||||
echo "$ftp_conf_error" | $send_mail -s "$subj" $email
|
||||
echo "Error: $VESTA/conf/ftp.backup.conf does not exist"
|
||||
echo "Error: $VESTA/conf/ftp.backup.conf doesn't exist"
|
||||
sed -i "/ $user /d" $VESTA/data/queue/backup.pipe
|
||||
log_event "$E_NOTEXIST" "$EVENT"
|
||||
exit $E_NOTEXIST
|
||||
|
@ -565,8 +565,8 @@ ftp_backup() {
|
|||
$send_mail -s "$subj" $email
|
||||
echo "Error: can't login to ftp ftp://$USERNAME@$HOST"
|
||||
sed -i "/ $user /d" $VESTA/data/queue/backup.pipe
|
||||
log_event "$E_FTP" "$EVENT"
|
||||
exit $E_FTP
|
||||
log_event "$E_CONNECT" "$EVENT"
|
||||
exit $E_CONNECT
|
||||
fi
|
||||
|
||||
# Check ftp permissions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue