From d5bfd6cb0d798fb4b3f5f38a5355370822f218a8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 15 Aug 2019 13:16:14 +1200 Subject: [PATCH] bgrun: do not notify about cleanup --- .mutt/bgrun | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.mutt/bgrun b/.mutt/bgrun index f1ad14c..836e836 100755 --- a/.mutt/bgrun +++ b/.mutt/bgrun @@ -10,12 +10,9 @@ TEMPRUNDIR=.tempdir-run.d cleanup() { if [ -d $TEMPRUNDIR ]; then local TEMPDIR; TEMPDIR="$PWD" - echo Cleaning up tempdir $TEMPDIR… >> output.stderr notify_output cd / rm -rf "$TEMPDIR" - else - notify_output fi trap - 1 2 3 4 5 6 7 8 10 11 12 13 14 15 } @@ -176,7 +173,6 @@ case "$SELF" in while [ $(($(stat -c%X "$FILE") + $DELAY)) -gt $(date +%s) ]; do sleep $DELAY done - echo Cleaning up $TMPDIR… > $TMPDIR/output.stderr cleanup ) & trap - 1 2 3 4 5 6 7 8 10 11 12 13 14 15 -- 2.39.5