]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - debian/10mail
Update to Standards-Version 3.9.5, no changes need
[mirror_smartmontools-debian.git] / debian / 10mail
index ff0069e109da20168d990a5686299c422990c6be..f921a337bac651b4ad79cabdf8a04d6aefdb0420 100644 (file)
@@ -1,7 +1,10 @@
 #!/bin/bash -e
 
 # Send mail if /usr/bin/mail exists
-[ -x /usr/bin/mail ] || (echo "Your system does not have /usr/bin/mail.  Install the mailx or mailutils package" ; exit 0)
+if ! [ -x /usr/bin/mail ]; then
+       echo "Your system does not have /usr/bin/mail.  Install the mailx or mailutils package" 
+       exit 1
+fi
 
 input=$1
 shift