/[pdpsoft]/trunk/nagios/glexec/check_glexec
ViewVC logotype

Diff of /trunk/nagios/glexec/check_glexec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2452 by msalle, Tue Nov 29 13:58:12 2011 UTC revision 2453 by msalle, Tue Nov 29 16:22:24 2011 UTC
# Line 424  probe_rc=$? Line 424  probe_rc=$?
424  # Kill the waiter if it is still there  # Kill the waiter if it is still there
425  if [ -n "`ps -opid= -p $waiter_pid`" ];then  if [ -n "`ps -opid= -p $waiter_pid`" ];then
426      kill $waiter_pid 2> /dev/null      kill $waiter_pid 2> /dev/null
427        # Call wait here to prevent logging of termination at end of script
428        wait $waiter_pid 2> /dev/null
429  fi  fi
430    
431  # If probe was killed, it's exit value will be outside valid nagios range of 0-3  # If probe was killed, it's exit value will be outside valid nagios range of 0-3

Legend:
Removed from v.2452  
changed lines
  Added in v.2453

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28