mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
check_result function
This commit is contained in:
parent
062b7e81f0
commit
91a804c1c8
66 changed files with 204 additions and 404 deletions
|
@ -47,15 +47,6 @@ update_object_value 'dns' 'DOMAIN' "$domain" '$SUSPENDED' 'no'
|
|||
decrease_user_value "$user" '$SUSPENDED_DNS'
|
||||
sed -i "s/SUSPENDED='yes'/SUSPENDED='no'/g" $USER_DATA/dns/$domain.conf
|
||||
|
||||
|
||||
# Restart named
|
||||
#if [ "$restart" != 'no' ]; then
|
||||
# $BIN/v-restart-dns
|
||||
# if [ $? -ne 0 ]; then
|
||||
# exit $E_RESTART
|
||||
# fi
|
||||
#fi
|
||||
|
||||
# Logging
|
||||
log_event "$OK" "$EVENT"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue