updated error code table

This commit is contained in:
Serghey Rodin 2013-05-24 11:02:58 +03:00
commit 2dce1a5de4
10 changed files with 51 additions and 51 deletions

View file

@ -50,8 +50,8 @@ validate_format 'host' 'ftp_user' 'ftp_password'
# Checking network connection
if [ ! -z "$(ftpc)" ]; then
echo "Error: can't login to ftp"
log_event "$E_FTP" "$EVENT"
exit $E_FTP
log_event "$E_CONNECT" "$EVENT"
exit $E_CONNECT
fi
# Checking write permissions