projects
/
safeq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae03004
)
exit 1 if we didn't get expected output
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 28 Feb 2019 14:11:15 +0000
(15:11 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 28 Feb 2019 14:11:15 +0000
(15:11 +0100)
xwc-jobs.pl
patch
|
blob
|
history
diff --git
a/xwc-jobs.pl
b/xwc-jobs.pl
index
05653eb
..
e8e6f9c
100755
(executable)
--- 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';