summaryrefslogtreecommitdiffstats
path: root/openwrt/package/pptp
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/pptp')
-rw-r--r--openwrt/package/pptp/files/ifup.pptp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp
index a9bc579b5..f401a36b2 100644
--- a/openwrt/package/pptp/files/ifup.pptp
+++ b/openwrt/package/pptp/files/ifup.pptp
@@ -9,7 +9,7 @@ eval "proto=\"\${${type}_proto}\""
exit
}
-[ -d "/var/lock" ] || mkdir -p /var/lock || exit 1
+mkdir -p /var/lock
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-