wc: We should sandbox wc only if Capers is available.

This commit is contained in:
Mariusz Zaborski 2018-11-12 18:01:36 +00:00
parent 3824f650f0
commit c71292ea35
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340377

View File

@ -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);