Blame SOURCES/0058-TOOLS-removed-unneeded-debug-message.patch
|
|
3247ef |
From fbf33babe3fb52323f098aa300b51bf8fc5ee363 Mon Sep 17 00:00:00 2001
|
|
|
3247ef |
From: Alexey Tikhonov <atikhono@redhat.com>
|
|
|
3247ef |
Date: Wed, 19 May 2021 17:20:52 +0200
|
|
|
3247ef |
Subject: [PATCH] TOOLS: removed unneeded debug message
|
|
|
3247ef |
MIME-Version: 1.0
|
|
|
3247ef |
Content-Type: text/plain; charset=UTF-8
|
|
|
3247ef |
Content-Transfer-Encoding: 8bit
|
|
|
3247ef |
|
|
|
3247ef |
This message was logged before `sss_tool_init()` that sets debug level,
|
|
|
3247ef |
thus ignoring configured debug level.
|
|
|
3247ef |
|
|
|
3247ef |
Since the same message is printed via `ERROR` on a next line, this log
|
|
|
3247ef |
message doesn't add any information and can be simply removed.
|
|
|
3247ef |
|
|
|
3247ef |
Reviewed-by: Tomáš Halman <thalman@redhat.com>
|
|
|
3247ef |
---
|
|
|
3247ef |
src/tools/common/sss_tools.c | 1 -
|
|
|
3247ef |
1 file changed, 1 deletion(-)
|
|
|
3247ef |
|
|
|
3247ef |
diff --git a/src/tools/common/sss_tools.c b/src/tools/common/sss_tools.c
|
|
|
3247ef |
index 637e251f6..806667f46 100644
|
|
|
3247ef |
--- a/src/tools/common/sss_tools.c
|
|
|
3247ef |
+++ b/src/tools/common/sss_tools.c
|
|
|
3247ef |
@@ -512,7 +512,6 @@ int sss_tool_main(int argc, const char **argv,
|
|
|
3247ef |
|
|
|
3247ef |
uid = getuid();
|
|
|
3247ef |
if (uid != 0) {
|
|
|
3247ef |
- DEBUG(SSSDBG_CRIT_FAILURE, "Running under %d, must be root\n", uid);
|
|
|
3247ef |
ERROR("%1$s must be run as root\n", argv[0]);
|
|
|
3247ef |
return EXIT_FAILURE;
|
|
|
3247ef |
}
|
|
|
3247ef |
--
|
|
|
3247ef |
2.26.3
|
|
|
3247ef |
|