mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +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 commitfb4c92ffa6) (cherry picked from commitc5efe958ca) (cherry picked from commit 287553f8d108f3660ec7eefb9a5b139d4a6faf30)
This commit is contained in:
1 parent
2109ae6953
commit
ccb36fb43a
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"
|
||||