mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
refactoring: log_event(), is_format_valid()
This commit is contained in:
parent
325ca65f32
commit
a61a6e979e
52 changed files with 582 additions and 1170 deletions
|
@ -43,9 +43,7 @@ get_domain_values 'web'
|
|||
# Checking config
|
||||
config="$HOMEDIR/$user/conf/web/$STATS.$domain.conf"
|
||||
if [ ! -e "$config" ]; then
|
||||
echo "Error: Parsing error"
|
||||
log_event "$E_PARSING" "$ARGUMENTS"
|
||||
exit $E_PARSING
|
||||
check_result $E_NOTEXISTS "$config doesn't exist"
|
||||
fi
|
||||
|
||||
# Checking statistics directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue