]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
chgrp: fix typo in previous change
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Feb 2022 03:57:14 +0000 (19:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Feb 2022 06:09:37 +0000 (22:09 -0800)
* src/chgrp.c (main): Use main_exit, not exit.

src/chgrp.c

index 0c0f6294912e6b0ad498697ae3b7033566fcd329..31a6136cc9c857fd2d4b268b7857a89bf18d0ef5 100644 (file)
@@ -313,5 +313,5 @@ main (int argc, char **argv)
                     (uid_t) -1, gid,
                     (uid_t) -1, (gid_t) -1, &chopt);
 
-  exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
+  main_exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
 }