summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openconnect/build/patches/vpnc-script_slackware.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/openconnect/build/patches/vpnc-script_slackware.patch b/openconnect/build/patches/vpnc-script_slackware.patch
index 3ffc3567..dbf37693 100644
--- a/openconnect/build/patches/vpnc-script_slackware.patch
+++ b/openconnect/build/patches/vpnc-script_slackware.patch
@@ -5,7 +5,7 @@
MODIFYRESOLVCONF=modify_resolvconf_manager
RESTORERESOLVCONF=restore_resolvconf_manager
-elif [ -x /sbin/netconfig ]; then # tool on Suse after 11.1
-+elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware
++elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version ]; then # tool on Suse after 11.1, do not use on Slackware
MODIFYRESOLVCONF=modify_resolvconf_suse_netconfig
RESTORERESOLVCONF=restore_resolvconf_suse_netconfig
elif [ -x /sbin/modify_resolvconf ]; then # Mandatory tool on Suse earlier than 11.1