mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
restart error handler
This commit is contained in:
parent
42dfa03258
commit
477934825c
66 changed files with 297 additions and 9 deletions
|
@ -72,6 +72,9 @@ chmod 660 $USER_DATA/dns.conf
|
|||
# Restart named
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-dns $restart
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
fi
|
||||
fi
|
||||
|
||||
# Logging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue