From: Mark Wooding Date: Sun, 25 Dec 2011 23:43:50 +0000 (+0000) Subject: keyfunc.sh.in (prepare): Exit nonzero if ACL check fails. X-Git-Tag: 0.99.1~13 X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-keys/commitdiff_plain/68023101ab409d775673edadb77079a7adf50374 keyfunc.sh.in (prepare): Exit nonzero if ACL check fails. Just a missing return code. --- diff --git a/keyfunc.sh.in b/keyfunc.sh.in index aae5598..82ed9e5 100644 --- a/keyfunc.sh.in +++ b/keyfunc.sh.in @@ -474,7 +474,7 @@ prepare () { done case $verdict in - forbid) echo >&2 "$quis: $op access to key \`$key' forbidden"; exit ;; + forbid) echo >&2 "$quis: $op access to key \`$key' forbidden"; exit 1 ;; esac }