diff options
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/touch.c b/src/touch.c index efb45a1f6..583359162 100644 --- a/src/touch.c +++ b/src/touch.c @@ -194,7 +194,10 @@ main (argc, argv) } if (flag_version) - fprintf (stderr, "%s\n", version_string); + { + fprintf (stderr, "%s\n", version_string); + exit (0); + } if (flag_help) usage (); |