This variable was used in some places but not in others.
Signed-off-by: Ben Pfaff <[email protected]>
---
xenserver/etc_init.d_openvswitch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index dfd8c39..bd64cc7 100755
--- a/xenserver/etc_init.d_openvswitch
+++ b/xenserver/etc_init.d_openvswitch
@@ -127,8 +127,8 @@ else
fi
function hup_monitor_external_ids {
- if [ -e /var/run/openvswitch/ovs-xapi-sync.pid ]; then
- action "Configuring Open vSwitch external IDs" kill -HUP `cat
/var/run/openvswitch/ovs-xapi-sync.pid`
+ if [ -e "$OVS_XAPI_SYNC_PIDFILE" ]; then
+ action "Configuring Open vSwitch external IDs" kill -HUP `cat
"$OVS_XAPI_SYNC_PIDFILE"`
fi
}
--
1.7.4.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev