From f8236c5d1559b85e481472ade252cf847b77d73f Mon Sep 17 00:00:00 2001 From: Giuseppe Calabrese Date: Fri, 10 May 2019 18:03:16 +0200 Subject: Exit with status code 2 after printing the usage --- src/encpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/encpipe.c b/src/encpipe.c index cd06e35..735ed87 100644 --- a/src/encpipe.c +++ b/src/encpipe.c @@ -24,7 +24,7 @@ usage(void) " -i, --in read input from \n" " -o, --out write output to \n" " -h, --help print this message"); - exit(0); + exit(2); } static int -- cgit v1.2.3-70-g09d2