[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-cvs
Subject:    [Xen-changelog] [xen master] init/FreeBSD: fix incorrect usage of $rc_pids in xendriverdomain
From:       patchbot () xen ! org
Date:       2016-12-25 6:07:48
Message-ID: E1cL1yG-0000P9-T5 () xenbits ! xenproject ! org
[Download RAW message or body]

commit fb4c92ffa661516e41d24974d3d0a2a3608caf68
Author:     Roger Pau Monne <roger.pau@citrix.com>
AuthorDate: Wed Dec 21 16:47:26 2016 +0000
Commit:     Wei Liu <wei.liu2@citrix.com>
CommitDate: Wed Dec 21 16:51:55 2016 +0000

    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>
---
 tools/hotplug/FreeBSD/rc.d/xendriverdomain.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in \
b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in index b01a470..a032822 100644
--- a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in
+++ b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in
@@ -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"
--
generated by git-patchbot for /home/xen/git/xen.git#master


[Attachment #3 (text/plain)]

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
https://lists.xenproject.org/xen-changelog

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic