From 474f0ce00948125dc705d898a3976bda8bf207db Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 2 Jun 2016 07:07:58 +0200 Subject: [PATCH] set exit status to 1 if -n is used without -i and -o --- aucat/aucat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aucat/aucat.c b/aucat/aucat.c index 308bcef..e0d6d5f 100644 --- a/aucat/aucat.c +++ b/aucat/aucat.c @@ -1393,7 +1393,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;