From 79416011612541d103a1d396d888bb8c84eb1da4 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Wed, 13 Mar 2013 11:17:21 -0700 Subject: [PATCH] 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 --- rhel/etc_sysconfig_network-scripts_ifup-ovs | 1 + 1 file changed, 1 insertion(+) 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" -- 2.43.0