--- lib/PXElator/daemons.pm 2009/08/17 13:27:18 244 +++ lib/PXElator/daemons.pm 2009/08/17 15:14:58 245 @@ -54,7 +54,7 @@ $pid ||= 'not started'; warn "start_stop $daemon $pid\n"; - if ( $pid =~ m{^\d+$} ) { + if ( $pid =~ m{^\d+$} && kill 0, $pid ) { my $pstree = `pstree -p $pid`; my @pids = $pstree =~ m{\((\d+)\)}g; warn "pstree $pstree pids ",dump( @pids );