diff options
Diffstat (limited to 'src/chmod.c')
-rw-r--r-- | src/chmod.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chmod.c b/src/chmod.c index 9e1b9832d..870f9f100 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -143,7 +143,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 (); |