diff options
Diffstat (limited to 'src/mkdir.c')
-rw-r--r-- | src/mkdir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mkdir.c b/src/mkdir.c index e9da99beb..360396b8d 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -92,7 +92,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 (); |