diff options
Diffstat (limited to 'toys/pending/useradd.c')
-rw-r--r-- | toys/pending/useradd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toys/pending/useradd.c b/toys/pending/useradd.c index 4d4c671e..d0ad03ab 100644 --- a/toys/pending/useradd.c +++ b/toys/pending/useradd.c @@ -46,10 +46,7 @@ void useradd_main(void) // Act like groupadd? if (toys.optc == 2) { - if (toys.optflags) { - toys.exithelp = 1; - error_exit("options with USER GROUP"); - } + if (toys.optflags) help_exit("options with USER GROUP"); xexec((char *[]){"groupadd", toys.optargs[0], toys.optargs[1], 0}); } |