mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-13 16:11:37 +02:00
initscripts: Don't overwrite the PID file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -522,11 +522,10 @@ loadproc()
|
|||||||
(
|
(
|
||||||
${cmd[@]} &>/dev/null
|
${cmd[@]} &>/dev/null
|
||||||
) &
|
) &
|
||||||
pid="$$"
|
pid="$!"
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
else
|
else
|
||||||
${cmd[@]}
|
${cmd[@]}
|
||||||
pid="$$"
|
|
||||||
evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
|
evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user