diff options
Diffstat (limited to 'src/tools/sss_userdel.c')
-rw-r--r-- | src/tools/sss_userdel.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tools/sss_userdel.c b/src/tools/sss_userdel.c index 869ec9c8..1d0cb12b 100644 --- a/src/tools/sss_userdel.c +++ b/src/tools/sss_userdel.c @@ -176,16 +176,12 @@ int main(int argc, const char **argv) debug_level = pc_debug; if (ret != -1) { - usage(pc, poptStrerror(ret)); - ret = EXIT_FAILURE; - goto fini; + BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } pc_username = poptGetArg(pc); if (pc_username == NULL) { - usage(pc, _("Specify user to delete\n")); - ret = EXIT_FAILURE; - goto fini; + BAD_POPT_PARAMS(pc, _("Specify user to delete\n"), ret, fini); } CHECK_ROOT(ret, debug_prg_name); |