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 /bin/echo | |
parent | d18e2bca4b12aba1820c63c125e409418007db49 (diff) | |
download | src-7672a0148f79063eac8f8e0beb0db5350d02d5d4.tar.gz src-7672a0148f79063eac8f8e0beb0db5350d02d5d4.zip |
Notes
Diffstat (limited to 'bin/echo')
-rw-r--r-- | bin/echo/echo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/echo/echo.c b/bin/echo/echo.c index 807a2105374a..a96542c8aee2 100644 --- a/bin/echo/echo.c +++ b/bin/echo/echo.c @@ -82,7 +82,7 @@ main(int argc, char *argv[]) char newline[] = "\n"; char *progname = argv[0]; - if (caph_limit_stdio() < 0 || (cap_enter() < 0 && errno != ENOSYS)) + if (caph_limit_stdio() < 0 || caph_enter() < 0) err(1, "capsicum"); /* This utility may NOT do getopt(3) option parsing. */ |