From: martin f. krafft Date: Thu, 15 Aug 2019 01:16:14 +0000 (+1200) Subject: bgrun: do not notify about cleanup X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/d5bfd6cb0d798fb4b3f5f38a5355370822f218a8?ds=sidebyside bgrun: do not notify about cleanup --- 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