]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS r365891: certctl: fix unprivileged mode
authorKyle Evans <kevans@FreeBSD.org>
Sat, 19 Sep 2020 02:12:04 +0000 (02:12 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 19 Sep 2020 02:12:04 +0000 (02:12 +0000)
commitfc5084447e8a2f91df944fd679d899a369793f0c
tree43fd8532802a0bdecca868109cc2587e2c1551e0
parent44033ea6040e9b765ba39ba4fda63e2ec8c41b29
MFS r365891: certctl: fix unprivileged mode

The first issue was lack of quoting around INSTALLFLAGS, which set it
incorrectly and produced an error on -M.

The second issue was that we weren't actually doing the install in
unprivileged mode, making it effectively useless. This was designed to pass
through the proper metalog/unpriv flags to install(1), so just let it
happen.

Approved by: re (gjb)
usr.sbin/certctl/certctl.sh