summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-03-18 20:22:20 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-03-18 20:22:20 +0100
commit507567ae2b2c02e0e71b8206e2e7203e892d1510 (patch)
tree2f319ee5705db772584d28bc0f597ed42eca06f8
parenta83bd4e74dfc0323e59d95513d95db4b78dd2b37 (diff)
inotail.c: Proper exit after printing of version
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
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: