]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
certctl: fix unprivileged mode
authorkevans <kevans@FreeBSD.org>
Tue, 15 Sep 2020 17:13:29 +0000 (17:13 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 15 Sep 2020 17:13:29 +0000 (17:13 +0000)
commitc54063c4062b3ba62d8877fdbeba0356ed0e7679
tree70f9321318c209af951690f697821041ee592993
parent9e7fe3bb3320ce49ab4a72598bc7e6db9ae678a7
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.

MFC after: 3 days
usr.sbin/certctl/certctl.sh