E_RESTART should be a variable

This commit is contained in:
Serghey Rodin 2014-02-19 23:12:23 +02:00
commit 4614df59a7
61 changed files with 89 additions and 89 deletions

View file

@ -79,7 +79,7 @@ update_user_value "$user" '$SUSPENDED_DNS' "$suspended_dns"
if [ "$restart" != 'no' ]; then
$BIN/v-restart-dns "$restart"
if [ $? -ne 0 ]; then
exit E_RESTART
exit $E_RESTART
fi
fi