mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
init/FreeBSD: fix incorrect usage of $rc_pids in xendriverdomain
It should be rc_pid.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported-by: Nathan Friess <nathan.friess@gmail.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
(cherry picked from commit fb4c92ffa6)
This commit is contained in:
1 parent
63c68c7ec5
commit
c5efe958ca
1 file changed
+2
-2
@@ -38,8 +38,8 @@ xendriverdomain_stop()
|
||||
|
||||
rc_pid=$(check_pidfile ${XLDEVD_PIDFILE} ${sbindir}/xl)
|
||||
|
||||
kill -${sig_stop:-TERM} $rc_pids
|
||||
wait_for_pids $rc_pids
|
||||
kill -${sig_stop:-TERM} $rc_pid
|
||||
wait_for_pids $rc_pid
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||