- die "couldn't parse $LogDir/status.pl: $@" if $@;
- die "couldn't do $LogDir/status.pl: $!" unless defined $ret;
- die "couldn't run $LogDir/status.pl";
+ if ( $@ ) {
+ print STDERR "couldn't parse $LogDir/status.pl: $@";
+ } elsif ( !defined($ret) ) {
+ print STDERR "couldn't do $LogDir/status.pl: $!";
+ } else {
+ print STDERR "couldn't run $LogDir/status.pl";
+ }