]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Fixed regression introduced in 10mail script
authorGiuseppe Iuculano <iuculano@debian.org>
Wed, 13 Jun 2012 14:34:58 +0000 (16:34 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Wed, 13 Jun 2012 14:34:58 +0000 (16:34 +0200)
Closes: #649515
debian/10mail

index f169d59fdc243f80dee8b62ff88706cb03525652..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 1}
+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