mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Refactoring stage IV (sys)
This commit is contained in:
parent
3dcc180087
commit
3ba10cdc6e
25 changed files with 141 additions and 351 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue