Permalink
Browse files

HBSD: Properly return status of public key validity check

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Reported-by:	Fabian Keil
github-issue:	#171
Sponsored-by:	G2, Inc
  • Loading branch information...
1 parent 7b57415 commit 3e82f016d0d0b7b3498a729ee7fe43e0bc0ad51b @lattera lattera committed Dec 25, 2015
Showing with 1 addition and 0 deletions.
  1. +1 −0 usr.sbin/hbsd-update/hbsd-update
@@ -151,6 +151,7 @@ check_pubkey_validity() {
${caopt} ${capath} \
${tmpdir}/pubkey.pem \
> /dev/null 2>&1
+ res=${?}
return ${res}
}

0 comments on commit 3e82f01

Please sign in to comment.