aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-11-26 15:51:56 +1100
committerJustin Bedo <cu@cua0.org>2018-11-26 15:51:56 +1100
commit342df165afb5961557d61bb4cb9a39b88b22d220 (patch)
tree0eec350912cc61b868df87e2b4e07a27ef8dcf02 /lib
parentce004fd8f1993810081076dcf215f872c40a5655 (diff)
qsub: output non-retryable errors
Diffstat (limited to 'lib')
-rw-r--r--lib/qsub.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix
index bb4934a..4ef6dbc 100644
--- a/lib/qsub.nix
+++ b/lib/qsub.nix
@@ -32,6 +32,7 @@
break
fi
if ! grep "Please retry" id > /dev/null ; then
+ cat id >&2
exit 1
fi
sleep ${toString sleepTime}