summaryrefslogtreecommitdiffstats
path: root/login-utils/newgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/newgrp.c')
-rw-r--r--login-utils/newgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c
index 56639d1f0..367333ec3 100644
--- a/login-utils/newgrp.c
+++ b/login-utils/newgrp.c
@@ -200,7 +200,7 @@ int main(int argc, char *argv[])
case 'h':
usage(stdout);
default:
- usage(stderr);
+ errtryhelp(EXIT_FAILURE);
}
if (!(pw_entry = getpwuid(getuid())))