mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
wc: We should sandbox wc only if Capers is available.
This commit is contained in:
parent
3824f650f0
commit
c71292ea35
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340377
|
@ -146,7 +146,7 @@ main(int argc, char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (caph_enter() < 0) {
|
||||
if (caph_enter_with_casper() < 0) {
|
||||
xo_warn("Unable to enter capability mode");
|
||||
fileargs_free(fa);
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in a new issue