]> git.ipfire.org Git - ipfire-2.x.git/commit - src/initscripts/system/functions
initscripts: Fix wrong variable check for $PIDFILE in getpids
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Jan 2024 14:57:50 +0000 (15:57 +0100)
committerDaniel Weismüller <daniel.weismueller@ipfire.org>
Thu, 11 Jan 2024 14:57:50 +0000 (15:57 +0100)
commitdd8ef8cc107a867d4b2a739913b399f6966b34ff
treeff85391632e1a51d710a2ecae487a7723790ebaa
parent7270984c460653f2215271b86286f74e6e9fb6ca
initscripts: Fix wrong variable check for $PIDFILE in getpids

getpids() checked whether it needed to pass a pid file to pidofproc, but
the check was inverted.

Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
src/initscripts/system/functions