xenserver: Remove dead store from interface-reconfigure.
[openvswitch] / xenserver / vswitch-xen.spec
index 8c234d3fb0777605cd02b565228fc3c7a5ed1991..886834f507a622c9e554760a65c38398429a8715 100644 (file)
@@ -130,6 +130,7 @@ b8e9835862ef1a9cec2a3f477d26c989  /etc/xensource/scripts/vif
 ce451d3c985fd1db6497a363f0d9dedb  /opt/xensource/libexec/interface-reconfigure
 2b53f500431fcba5276c896e9e4281b9  /usr/sbin/xen-bugtool
 EOF
+    then
         printf "\nVerified host scripts from XenServer 5.5.900.\n\n"
     else
 cat <<EOF
@@ -308,10 +309,9 @@ if [ "$1" = "0" ]; then     # $1 = 1 for upgrade
     find  %{_prefix} -type d -depth -exec rmdir \{\} \; \
         || printf "Could not remove vSwitch install directory.\n"
 
-    # Remove all configuration and log files
+    # Remove all configuration files
     rm -f /etc/ovs-vswitchd.conf
     rm -f /etc/sysconfig/vswitch
-    rm -f /var/log/vswitch*
     rm -f /etc/ovs-vswitchd.cacert
 
     printf "\nYou MUST reboot the server now to complete the change to\n"