diff options
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 7ffd65c..82b9d3b 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -315,7 +315,7 @@ function openvpn_reconfigure($mode, $settings) { $devname = "ovpnc{$vpnid}"; /* is our device already configured */ - if (mwexec("/sbin/ifconfig {$devname}")) { + if (mwexec("/sbin/ifconfig {$devname}", true)) { /* create the tap device if required */ if (!file_exists("/dev/{$tunname}")) |