aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-01-14 16:11:00 +1100
committerJustin Bedo <cu@cua0.org>2019-01-14 16:11:00 +1100
commitddd1c7549995600ab32c5b7a9112334681d3ea8a (patch)
tree87cfe66fa5a16b21d4aae73ef78bce28d60689e1
parentdf004c05e563a3d6e574f9b14c0939f9cd15d802 (diff)
qsub: fix bug in stderr redirection
-rw-r--r--lib/qsub.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix
index a0a5d2c..53e5780 100644
--- a/lib/qsub.nix
+++ b/lib/qsub.nix
@@ -16,7 +16,7 @@
TMP=$TMPDIR
NIX_BUILD_TOP=$TMPDIR
cd $TMPDIR
- ${builder} ${lib.escapeShellArgs args} 2>&1 > qsub-log
+ ${builder} ${lib.escapeShellArgs args} &> qsub-log
echo $? > qsub-exit
'';