Refactoring stage IV (sys)

This commit is contained in:
Serghey Rodin 2012-03-31 22:55:50 +03:00
commit 3ba10cdc6e
25 changed files with 141 additions and 351 deletions

View file

@ -13,7 +13,8 @@
update=$1
period=${1-daily}
# Importing variables
# Includes
source $VESTA/conf/vesta.conf
source $VESTA/func/shared.sh
@ -79,7 +80,7 @@ for host in $hosts; do
if [ -z $HOST ] || [ -z $USER ] || [ -z $PASSWORD ] || [ -z $PORT ]
then
echo "Error: config is broken"
log_event 'debug' "$E_PARSING $EVENT"
log_event "$E_PARSING" "$EVENT"
exit $E_PARSING
fi