mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
initscripts: Fix reading PIDs
An incorrect variable has been used. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -522,11 +522,11 @@ loadproc()
|
||||
(
|
||||
${cmd[@]} &>/dev/null
|
||||
) &
|
||||
pid="$!"
|
||||
pid="$$"
|
||||
evaluate_retval
|
||||
else
|
||||
${cmd[@]}
|
||||
pid="$!"
|
||||
pid="$$"
|
||||
evaluate_retval # This is "Probably" not LSB compliant, but required to be compatible with older bootscripts
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user