]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
"notify=never" can now be set to disable notifications even on errors
authorPatrice Fournier <patrice.fournier@ifax.com>
Sun, 21 Apr 2013 02:30:48 +0000 (22:30 -0400)
committerPatrice Fournier <patrice.fournier@ifax.com>
Tue, 30 Jul 2024 01:34:18 +0000 (21:34 -0400)
util/notify.sh.in

index 4fc0a78b050ce51ea4d85a51bc6dde76199d6f93..f79982a74c0dabd27917df6085726360308d1452 100644 (file)
@@ -198,6 +198,7 @@ export SENDTO
 
 case "$WHY:$notify" in
     *":always")                     do_notify;;     # They've asked for it
+    *":never")                      ;;              # Do nothing
 
     "requeued:when done+requeued")  do_notify;;     # Requeued
     "requeued:when requeued")       do_notify;;     # Requeued