diff options
Diffstat (limited to 'server/tools/sss_userdel.c')
-rw-r--r-- | server/tools/sss_userdel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/tools/sss_userdel.c b/server/tools/sss_userdel.c index d34466e7..e84d78b1 100644 --- a/server/tools/sss_userdel.c +++ b/server/tools/sss_userdel.c @@ -98,7 +98,11 @@ int main(int argc, const char **argv) ret = init_sss_tools(&tctx); if (ret != EOK) { DEBUG(1, ("init_sss_tools failed (%d): %s\n", ret, strerror(ret))); - ERROR("Error initializing the tools\n"); + if (ret == ENOENT) { + ERROR("Error initializing the tools - no local domain\n"); + } else { + ERROR("Error initializing the tools\n"); + } ret = EXIT_FAILURE; goto fini; } |