summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-22 20:33:40 +0100
committerErich Eckner <git@eckner.net>2018-01-22 20:33:40 +0100
commit7d67a5bf7d76d8a5b2b11b77a3c17eb37b66be96 (patch)
tree0dfbcbca9c102095517925c6ffb79c80a9da2850 /bin/return-assignment
parent170263108c8a6bf53fbfb22f8c7275bfff784edf (diff)
downloadbuilder-7d67a5bf7d76d8a5b2b11b77a3c17eb37b66be96.tar.xz
use sponge to send irc messages w/o being interrupted
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index c504bf6..a2961f2 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -213,9 +213,8 @@ if [ "$5" = 'ERROR' ]; then
sed 's/,$/./'
fi
printf '\n'
- } | tee /dev/stderr > \
- "${irc_dir}/#archlinux-ports/in"
- # why do we need tee there in order for the redirection to work???
+ } | \
+ sponge "${irc_dir}/#archlinux-ports/in"
fi
fi