]> git.proxmox.com Git - mirror_smartmontools-debian.git/blobdiff - debian/10mail
Fixed check for /usr/bin/mail
[mirror_smartmontools-debian.git] / debian / 10mail
index ff0069e109da20168d990a5686299c422990c6be..f169d59fdc243f80dee8b62ff88706cb03525652 100644 (file)
@@ -1,7 +1,7 @@
 #!/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)
+[ -x /usr/bin/mail ] || {echo "Your system does not have /usr/bin/mail.  Install the mailx or mailutils package" ; exit 1}
 
 input=$1
 shift