do not restart remote service

This commit is contained in:
Serghey Rodin 2014-03-23 16:14:21 +02:00
commit 23b187b534
6 changed files with 6 additions and 7 deletions

View file

@ -40,7 +40,7 @@ if [ -z "$1" ] && [ "$SCHEDULED_RESTART" = 'yes' ]; then
exit
fi
if [ -z "$FTP_SYSTEM" ]; then
if [ -z "$FTP_SYSTEM" ] || [ "$FTP_SYSTEM" = 'remote' ]; then
exit
fi