From 68023101ab409d775673edadb77079a7adf50374 Mon Sep 17 00:00:00 2001 Message-Id: <68023101ab409d775673edadb77079a7adf50374.1714874996.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 25 Dec 2011 23:43:50 +0000 Subject: [PATCH] keyfunc.sh.in (prepare): Exit nonzero if ACL check fails. Organization: Straylight/Edgeware From: Mark Wooding Just a missing return code. --- keyfunc.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- [mdw]