From aabdb997ec3ccc469172111e0392ac9caa3d6b16 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 7 Apr 2016 17:59:13 +0200 Subject: [PATCH] Daemon related changes --- dev/debug_osync.sh | 3 +-- dev/n_osync.sh | 3 +-- osync.sh | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index 12bf17f..20be957 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -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" diff --git a/dev/n_osync.sh b/dev/n_osync.sh index a2ea54d..679272d 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -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" diff --git a/osync.sh b/osync.sh index 575699d..abee596 100755 --- a/osync.sh +++ b/osync.sh @@ -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"