initscripts: Don't overwrite the PID file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-03-23 14:35:39 +01:00
parent 3f863ee70d
commit db09ea9e5c

View File

@@ -522,11 +522,10 @@ loadproc()
(
${cmd[@]} &>/dev/null
) &
pid="$$"
pid="$!"
evaluate_retval
else
${cmd[@]}
pid="$$"
evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
fi