aboutsummaryrefslogtreecommitdiffstats
path: root/mail/noattach/files/noattach.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/noattach/files/noattach.sh')
-rw-r--r--mail/noattach/files/noattach.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/noattach/files/noattach.sh b/mail/noattach/files/noattach.sh
index 378b8be4e72f..1cd9dbf19cfd 100644
--- a/mail/noattach/files/noattach.sh
+++ b/mail/noattach/files/noattach.sh
@@ -6,7 +6,7 @@ if ! test -x %%PREFIX%%/libexec/noattach
then
exit 0
fi
-case $1 in
+case "$1" in
start)
rm -f /var/run/noattach.pid
%%PREFIX%%/libexec/noattach -p local:/var/run/noattach &&
@@ -17,7 +17,7 @@ stop)
rm -f /var/run/noattach.pid
;;
*)
- echo "Usage: $0: [ start | stop ]" 2>&1
+ echo "Usage: ${0##*/}: { start | stop }" 2>&1
exit 65
;;
esac