Daemon related changes

This commit is contained in:
deajan 2016-04-07 17:59:13 +02:00
parent 794939926c
commit aabdb997ec
3 changed files with 3 additions and 6 deletions

View File

@ -2593,8 +2593,7 @@ function SyncOnChanges {
eval "$cmd"
retval=$?
if [ $retval != 0 ] && [ $retval != 240 ]; then
Logger "osync child exited with error." "CRITICAL"
exit $retval
Logger "osync child exited with error." "ERROR"
fi
Logger "#### Monitoring now." "NOTICE"

View File

@ -1566,8 +1566,7 @@ function SyncOnChanges {
eval "$cmd"
retval=$?
if [ $retval != 0 ] && [ $retval != 240 ]; then
Logger "osync child exited with error." "CRITICAL"
exit $retval
Logger "osync child exited with error." "ERROR"
fi
Logger "#### Monitoring now." "NOTICE"

View File

@ -2484,8 +2484,7 @@ function SyncOnChanges {
eval "$cmd"
retval=$?
if [ $retval != 0 ] && [ $retval != 240 ]; then
Logger "osync child exited with error." "CRITICAL"
exit $retval
Logger "osync child exited with error." "ERROR"
fi
Logger "#### Monitoring now." "NOTICE"