diff options
Diffstat (limited to 'src/rmdir.c')
-rw-r--r-- | src/rmdir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index a53235389..7302f25d4 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -80,7 +80,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 (); |