commit 15166dd16364c9f9dd9747340ed7a91d0e54a9af
parent a5049b9984062949d54dc982da8a44666cfab49c
Author: William Casarin <jb55@jb55.com>
Date: Mon, 12 Apr 2021 12:10:10 -0700
sendmail-bg: critial notification on queue
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sendmail-bg b/bin/sendmail-bg
@@ -19,7 +19,7 @@ echo "$output" >> /tmp/msmtp.log
if grep -E '^\s+enqueued' <<<"$output"
then
if command -v notify-send &> /dev/null; then
- notify-send "$output"
+ notify-send -u critical "$output"
fi
fi