summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.c')
-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: