]> arthur.barton.de Git - ax-unix.git/commitdiff
mail-wrapper: Add dummy "--suppress-empty" option
authorAlexander Barton <alex@barton.de>
Fri, 27 Oct 2017 10:37:20 +0000 (12:37 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 27 Oct 2017 10:37:20 +0000 (12:37 +0200)
Ignore this switch for compatibility with an other "mail-wrapper"
script. But this is the default for this implementation anyway.

mail/wrapper/mail-wrapper

index e581c457625fc049c237458b4afd3832adb502cd..9097453abe36e49ec62dbd3f0e6d5e5d74fa9321 100755 (executable)
@@ -86,6 +86,10 @@ while [[ $# -gt 0 ]]; do
                        [[ $# -gt 0 ]] || syntax_error
                        subject="$1"
                        ;;
                        [[ $# -gt 0 ]] || syntax_error
                        subject="$1"
                        ;;
+               "--suppress-empty")
+                       # Ignore this switch for compatibility with an other
+                       # "mail-wrapper" script. This is the default anyway!
+                       ;;
                "--to"|"-t")
                        shift
                        [[ $# -gt 0 ]] || syntax_error
                "--to"|"-t")
                        shift
                        [[ $# -gt 0 ]] || syntax_error