ntpd: do not create pid file if not backgrounded
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Mar 2019 12:37:40 +0000 (13:37 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Mar 2019 12:47:38 +0000 (13:47 +0100)
commitda996c5d2ace026506eb82d3b04ac48bb7aca3fb
tree4f184b2e221dff6255123db8fc7f84285095d1b5
parent4d1c5149a09722cd6dcf718812a347db60110706
ntpd: do not create pid file if not backgrounded

function                                             old     new   delta
ntp_init                                             995    1021     +26
ntpd_main                                           1267    1257     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 26/-10)             Total: 16 bytes

Reported by Alfonso Ranieri <alforan@tin.it>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c