File 0012-logging-correctly-set-the-PID-of-the-logging-process.patch of Package SuSEfirewall2.6458

From be586ce4e4bf97235752cf0ab0ea89f018af493b Mon Sep 17 00:00:00 2001
From: Matthias Gerstner <matthias.gerstner@suse.de>
Date: Tue, 28 Nov 2017 14:32:03 +0100
Subject: [PATCH 3/3] logging: correctly set the PID of the logging process

This avoid confusing journal entries with differing PIDs for each line.
Also it seems it kind of fixes a bug that some of the log lines even got
lost in the journal.
---
 SuSEfirewall2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SuSEfirewall2 b/SuSEfirewall2
index a544bb5..4a99d93 100755
--- a/SuSEfirewall2
+++ b/SuSEfirewall2
@@ -112,7 +112,7 @@ syslog()
 	pri="-p auth.warn"
     fi
     shift
-    /bin/logger $dashs $pri -t SuSEfirewall2 "$*"
+    /bin/logger $dashs $pri --id=$$ -t SuSEfirewall2 "$*"
 }
 
 message()
-- 
2.13.6

openSUSE Build Service is sponsored by