diff options
Diffstat (limited to 'src/chown.c')
-rw-r--r-- | src/chown.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chown.c b/src/chown.c index 6fa8fbcff..7a2f4989f 100644 --- a/src/chown.c +++ b/src/chown.c @@ -140,7 +140,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 (); |