Ack.

Thanks,
Ramesh.

On 3/29/2017 4:14 PM, Hans Nordeback wrote:
>   src/nid/opensafd.in |  3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
>
> diff --git a/src/nid/opensafd.in b/src/nid/opensafd.in
> --- a/src/nid/opensafd.in
> +++ b/src/nid/opensafd.in
> @@ -228,7 +228,6 @@ start() {
>               touch "$lockfile_inprogress"
>               start_daemon $binary $args
>               RETVAL=$?
> -             rm -f "$lockfile_inprogress"
>               if [ $RETVAL -eq 0 ]; then
>                       logger -t $osafprog "OpenSAF($osafversion - 
> $osafcshash) services successfully started"
>                       touch $lockfile
> @@ -239,11 +238,13 @@ start() {
>                       if [ $REBOOT_ON_FAIL_TIMEOUT -ne 0 ]; then
>                               logger -t $osafprog "Starting OpenSAF failed, 
> rebooting..."
>                               sleep $REBOOT_ON_FAIL_TIMEOUT
> +                             rm -f "$lockfile_inprogress"
>                               /sbin/reboot &
>                       else
>                               logger -t $osafprog "Starting OpenSAF failed"
>                       fi
>               fi
> +             rm -f "$lockfile_inprogress"
>       fi
>       return $RETVAL
>   }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to