diff options
-rwxr-xr-x | fusioninventory-agent.init | 4 |
1 files changed, 2 insertions, 2 deletions
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 } # |