X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fstunnel4%2Ffiles%2Fetc-init.d-stunnel4;h=e2f442e721985ffc9bd6c4b93de1bffc499303fe;hb=c00b2b97c65826fd8711891a232fc349bc72e37d;hp=c4bb5ad6979f1f21c464cd3ff644d0d09dbecae8;hpb=e1ae7678b540e3aa94b2fcf5ab0d8c121d2c80c3;p=mirror%2Fdsa-puppet.git diff --git a/modules/stunnel4/files/etc-init.d-stunnel4 b/modules/stunnel4/files/etc-init.d-stunnel4 index c4bb5ad69..e2f442e72 100755 --- a/modules/stunnel4/files/etc-init.d-stunnel4 +++ b/modules/stunnel4/files/etc-init.d-stunnel4 @@ -23,7 +23,7 @@ DESC="SSL tunnels" OPTIONS="" ENABLED=0 -if [ -n "${2-:}" ]; then +if [ -n "${2:-}" ]; then if [ -e "/etc/stunnel/$2.conf" ]; then FILES="/etc/stunnel/$2.conf" else @@ -117,7 +117,7 @@ case "$1" in ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|force-reload|restart}" >&2 + echo "Usage: $N {start|stop|force-reload|restart} []" >&2 exit 1 ;; esac