dcavalca / rpms / systemd

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