diff options
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r-- | chmod_chown_chgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c index 1ec7eec..e8ccb81 100644 --- a/chmod_chown_chgrp.c +++ b/chmod_chown_chgrp.c @@ -161,9 +161,9 @@ int chmod_chown_chgrp_main(int argc, char **argv) while (argc-- > 1) { if (recursiveAction (*(++argv), recursiveFlag, FALSE, FALSE, fileAction, fileAction, NULL) == FALSE) - exit(FALSE); + return EXIT_FAILURE; } - exit(TRUE); + return EXIT_SUCCESS; bad_group: fatalError( "unknown group name: %s\n", groupName); |