diff options
| author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2018-06-19 23:43:14 +0000 |
|---|---|---|
| committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2018-06-19 23:43:14 +0000 |
| commit | 7672a0148f79063eac8f8e0beb0db5350d02d5d4 (patch) | |
| tree | 413e973544ce3e0e8cc69352f5f5824b3a8821d5 /usr.bin/pom | |
| parent | d18e2bca4b12aba1820c63c125e409418007db49 (diff) | |
Notes
Diffstat (limited to 'usr.bin/pom')
| -rw-r--r-- | usr.bin/pom/pom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/pom/pom.c b/usr.bin/pom/pom.c index f0c214d2da32..5c95dcda6add 100644 --- a/usr.bin/pom/pom.c +++ b/usr.bin/pom/pom.c @@ -97,7 +97,7 @@ main(int argc, char **argv) err(1, "unable to limit capabitilities for stdio"); caph_cache_catpages(); - if (cap_enter() < 0 && errno != ENOSYS) + if (caph_enter() < 0) err(1, "unable to enter capability mode"); while ((ch = getopt(argc, argv, "d:pt:")) != -1) |
