From 344d603adfb9b5e8ab39d0566090a5bb6e986133 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 11 Jun 2011 16:20:48 +0200 Subject: fix service for systemd --- fusioninventory-agent.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fusioninventory-agent.init') diff --git a/fusioninventory-agent.init b/fusioninventory-agent.init index c2467fd..3f163b1 100755 --- a/fusioninventory-agent.init +++ b/fusioninventory-agent.init @@ -65,10 +65,10 @@ do_start() daemon $prog --logfile-maxsize=999 --logfile=$logfile $FUSINVOPT --daemon $OPTS 2>/dev/null RETVAL=$? echo + [ $RETVAL -eq 0 ] && touch $lockfile else - RETVAL=1 + RETVAL=0 fi - [ $RETVAL -eq 0 ] && touch $lockfile } # -- cgit