richardphibel / rpms / systemd

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