From 7d67a5bf7d76d8a5b2b11b77a3c17eb37b66be96 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 Jan 2018 20:33:40 +0100 Subject: use sponge to send irc messages w/o being interrupted --- bin/return-assignment | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/return-assignment') 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 -- cgit v1.2.3-54-g00ecf