#!/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