anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone
803fb7
From 5ad9a98a4c77949fd3519e11b44b8e0564dfc3a6 Mon Sep 17 00:00:00 2001
803fb7
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
803fb7
Date: Sat, 14 Mar 2015 20:14:39 -0400
803fb7
Subject: [PATCH] util: remove redundant debug message
803fb7
803fb7
mar 14 20:05:34 fedora22 systemd[4058]: /usr/lib/systemd/system-generators/kdump-dep-generator.sh will be executed.
803fb7
mar 14 20:05:34 fedora22 systemd[4058]: Spawned /usr/lib/systemd/system-generators/kdump-dep-generator.sh as 4059.
803fb7
803fb7
The second line already says everything.
803fb7
803fb7
(cherry picked from commit 7034e9db51d0b6f8e1dbbe9127393c6fbc06fe28)
803fb7
---
803fb7
 src/shared/util.c | 3 +--
803fb7
 1 file changed, 1 insertion(+), 2 deletions(-)
803fb7
803fb7
diff --git a/src/shared/util.c b/src/shared/util.c
803fb7
index 85487230a..1e1bf944f 100644
803fb7
--- a/src/shared/util.c
803fb7
+++ b/src/shared/util.c
803fb7
@@ -4115,8 +4115,7 @@ static int do_execute(char **directories, usec_t timeout, char *argv[]) {
803fb7
                         if (null_or_empty_path(path)) {
803fb7
                                 log_debug("%s is empty (a mask).", path);
803fb7
                                 continue;
803fb7
-                        } else
803fb7
-                                log_debug("%s will be executed.", path);
803fb7
+                        }
803fb7
 
803fb7
                         pid = fork();
803fb7
                         if (pid < 0) {