From: Gurucharan Shetty Date: Wed, 13 Mar 2013 18:17:21 +0000 (-0700) Subject: rhel: Return an exit value of 0 for ifup-ovs. X-Git-Tag: sliver-openvswitch-1.10.90-1~10^2~68 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=79416011612541d103a1d396d888bb8c84eb1da4 rhel: Return an exit value of 0 for ifup-ovs. When the variable "STP" is not set, the last executed command is False while running ifup-ovs for OVSBridge. This causes the ifup-ovs script to return an error resulting in a failure. Signed-off-by: Gurucharan Shetty --- diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs index 35387214b..ae095a083 100755 --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs @@ -69,6 +69,7 @@ case "$TYPE" in ${OTHERSCRIPT} ${CONFIG} fi [ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}" + exit 0 ;; OVSPort) /sbin/ifup "$OVS_BRIDGE"