From 809bcf831f76bbb1ad8623853103c8abfe4c6194 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 10 Apr 2017 01:47:06 +0100 Subject: [PATCH] cope with jesse's logger, which lacks --id=VALUE Signed-off-by: Ian Jackson --- hippotatd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hippotatd b/hippotatd index 123943a..cb86c2b 100755 --- a/hippotatd +++ b/hippotatd @@ -408,8 +408,7 @@ def daemonise(): pidfile_h.close() logger = subprocess.Popen(['logger','-d', - '-t','hippotat(stderr)', - '--id=%d' % mypid, + '-t','hippotat[%d](stderr)' % os.getpid(), '-p',opts.syslogfacility + '.err'], stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, -- 2.11.0