aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-04-27 13:59:58 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-04-27 13:59:58 +0200
commit6e429308439c4484d1d0309249339c57b0aa8df5 (patch)
tree5b0890221f6a0a0cffade3ac96409411dc8d753f
parentb7843a66b0ae1ac3c184ba7380ca0e3e11498818 (diff)
Reorder trap actions in fullcompMT
-rwxr-xr-xfullcompMT.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/fullcompMT.sh b/fullcompMT.sh
index 66604a3..f8444db 100755
--- a/fullcompMT.sh
+++ b/fullcompMT.sh
@@ -17,8 +17,7 @@ mkfifo fullcompMT_output_fifo.fifo
tail -F "$FIFONAME" &
TAILPID=$!
-
-trap "kill $TAILPID; rm $FIFONAME; ./fullcompstats.py" EXIT
+trap "kill $TAILPID; ./fullcompstats.py; rm $FIFONAME" EXIT
DATE_FMT="%Y-%m-%d %H:%M:%S"