X-Git-Url: http://git.rot13.org/?p=safeq;a=blobdiff_plain;f=xwc-jobs.pl;h=e8e6f9c3fbc756bbcd49a74298435b41285b175f;hp=05653eb99a13819d61e7d56ff935405f2447abdd;hb=a71d14605dc593949cfb314a6d5a6223597ee9f6;hpb=fa33c8f56e7dda5e8d19f822f5e590b0fdb18c02 diff --git a/xwc-jobs.pl b/xwc-jobs.pl index 05653eb..e8e6f9c 100755 --- a/xwc-jobs.pl +++ b/xwc-jobs.pl @@ -77,6 +77,8 @@ if ( exists $info->{spcs} ) { } +exit 1 if ! defined $info->{hdrs}; # we didn't get expected output + my @headers = @{ $info->{hdrs} }; unshift @headers, 'id' if $op eq 'list'; unshift @headers, 'IP';