richardphibel / rpms / systemd

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