From c7995712d995b3d95d9941a0861006378390408f Mon Sep 17 00:00:00 2001 From: Don Luchini Date: Sun, 7 Mar 2021 13:53:43 -0500 Subject: [PATCH] Add support for mail delivery using `s-nail` `s-nail` is an alternative to `mailx` that provides the same interface. It is additionally the default on some platforms like Arch. --- ssl-cert-check | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssl-cert-check b/ssl-cert-check index da4ec95..717ba09 100755 --- a/ssl-cert-check +++ b/ssl-cert-check @@ -325,6 +325,9 @@ FIND=$(command -v find) if [ -f /usr/bin/mailx ]; then MAIL="/usr/bin/mailx" MAILMODE="mailx" +elif [ -f /usr/bin/s-nail ]; then + MAIL="/usr/bin/s-nail" + MAILMODE="mailx" elif [ -f /bin/mail ]; then MAIL="/bin/mail" MAILMODE="mail"