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);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (caph_enter() < 0) {
|
if (caph_enter_with_casper() < 0) {
|
||||||
xo_warn("Unable to enter capability mode");
|
xo_warn("Unable to enter capability mode");
|
||||||
fileargs_free(fa);
|
fileargs_free(fa);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user