diff options
author | 2016-06-02 05:07:50 +0000 | |
---|---|---|
committer | 2016-06-02 05:07:50 +0000 | |
commit | a170a06c4f112c5f6750860053d02486992abfcd (patch) | |
tree | 6b9b7d94053daedc93bda5ae70f090ae2b150797 | |
parent | Let netcat support the use of service names instead of port numbers. (diff) | |
download | wireguard-openbsd-a170a06c4f112c5f6750860053d02486992abfcd.tar.xz wireguard-openbsd-a170a06c4f112c5f6750860053d02486992abfcd.zip |
set exit status to 1 if -n is used without -i and -o
-rw-r--r-- | usr.bin/aucat/aucat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index 0333ed66a55..ef784580dfa 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1390,7 +1390,7 @@ main(int argc, char **argv) } if (mode != (SIO_PLAY | SIO_REC)) { log_puts("both -i and -o required\n"); - return 0; + return 1; } if (!offline()) return 1; |