From 66527000f17fda58af091b6b9b363eeb90f26552 Mon Sep 17 00:00:00 2001 From: Giuseppe Iuculano Date: Wed, 13 Jun 2012 16:34:58 +0200 Subject: [PATCH] Fixed regression introduced in 10mail script Closes: #649515 --- debian/10mail | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/10mail b/debian/10mail index f169d59..f921a33 100644 --- a/debian/10mail +++ b/debian/10mail @@ -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 -- 2.39.2