summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_groupdel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_groupdel.c')
-rw-r--r--src/tools/sss_groupdel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tools/sss_groupdel.c b/src/tools/sss_groupdel.c
index df49a7563..947bb4a4d 100644
--- a/src/tools/sss_groupdel.c
+++ b/src/tools/sss_groupdel.c
@@ -49,7 +49,8 @@ int main(int argc, const char **argv)
ret = set_locale();
if (ret != EOK) {
- DEBUG(1, "set_locale failed (%d): %s\n", ret, strerror(ret));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ "set_locale failed (%d): %s\n", ret, strerror(ret));
ERROR("Error setting the locale\n");
ret = EXIT_FAILURE;
goto fini;
@@ -73,7 +74,8 @@ 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));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ "init_sss_tools failed (%d): %s\n", ret, strerror(ret));
if (ret == ENOENT) {
ERROR("Error initializing the tools - no local domain\n");
} else {
@@ -123,7 +125,8 @@ int main(int argc, const char **argv)
done:
if (ret) {
- DEBUG(1, "sysdb operation failed (%d)[%s]\n", ret, strerror(ret));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ "sysdb operation failed (%d)[%s]\n", ret, strerror(ret));
switch (ret) {
case ENOENT:
ERROR("No such group in local domain. "