From 507567ae2b2c02e0e71b8206e2e7203e892d1510 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 18 Mar 2007 20:22:20 +0100 Subject: inotail.c: Proper exit after printing of version --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index 8388bad..006f28f 100644 --- a/inotail.c +++ b/inotail.c @@ -425,7 +425,7 @@ int main(int argc, char **argv) break; case 'V': fprintf(stdout, "%s %s\n", PROGRAM_NAME, VERSION); - return 0; + exit(EXIT_SUCCESS); case 'h': usage(EXIT_SUCCESS); default: -- cgit v1.2.3-54-g00ecf