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
|
@ -48,6 +48,7 @@ fi
|
|||
/etc/init.d/$FTP_SYSTEM restart >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
send_email_report
|
||||
echo "Error: $FTP_SYSTEM restart failed"
|
||||
exit $E_RESTART
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue