strings: fix entering to the capability mode
Reported by: markj
This commit is contained in:
parent
43184d8e5c
commit
5ff84ed38f
@ -200,7 +200,7 @@ main(int argc, char **argv)
|
||||
err(1, "Unable to initialize casper fileargs");
|
||||
|
||||
caph_cache_catpages();
|
||||
if (caph_limit_stdio() < 0 && caph_enter_casper() < 0) {
|
||||
if (caph_limit_stdio() < 0 || caph_enter_casper() < 0) {
|
||||
fileargs_free(fa);
|
||||
err(1, "Unable to enter capability mode");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user