daandemeyer / rpms / systemd

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