valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone
Pablo Greco 48fc63
From 702a5878c3cce3da02403b29ac6e7b8317857dec Mon Sep 17 00:00:00 2001
Pablo Greco 48fc63
From: David Tardon <dtardon@redhat.com>
Pablo Greco 48fc63
Date: Thu, 30 May 2019 13:40:23 +0200
Pablo Greco 48fc63
Subject: [PATCH] fix mis-merge
Pablo Greco 48fc63
Pablo Greco 48fc63
Regression since commit c0f32feb77768aa76d8c813471b3484c93bc2651 .
Pablo Greco 48fc63
Pablo Greco 48fc63
Resolves: #1714503
Pablo Greco 48fc63
---
Pablo Greco 48fc63
 src/core/service.c | 2 +-
Pablo Greco 48fc63
 1 file changed, 1 insertion(+), 1 deletion(-)
Pablo Greco 48fc63
Pablo Greco 48fc63
diff --git a/src/core/service.c b/src/core/service.c
Pablo Greco 48fc63
index 06b39e3a5a..93e4759171 100644
Pablo Greco 48fc63
--- a/src/core/service.c
Pablo Greco 48fc63
+++ b/src/core/service.c
Pablo Greco 48fc63
@@ -3046,7 +3046,7 @@ static void service_notify_message(
Pablo Greco 48fc63
         if (!service_notify_message_authorized(SERVICE(u), ucred->pid, tags, fds))
Pablo Greco 48fc63
                 return;
Pablo Greco 48fc63
 
Pablo Greco 48fc63
-        if (s->notify_access == NOTIFY_NONE) {
Pablo Greco 48fc63
+        if (_unlikely_(log_get_max_level() >= LOG_DEBUG)) {
Pablo Greco 48fc63
                 _cleanup_free_ char *cc = NULL;
Pablo Greco 48fc63
 
Pablo Greco 48fc63
                 cc = strv_join(tags, ", ");