diff options
author | bcyrill <cyrill@bannwart.info> | 2012-12-16 23:38:13 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2012-12-16 23:38:13 +0100 |
commit | 1bc783b6014c94d7fd70e1b1dea8a386a1fa9b99 (patch) | |
tree | 5d5aa6ad8ff503c348e6162d09f7ab63278a74a2 /etc/inc/openvpn.inc | |
parent | 5d1105e686e959ec7958728eecf3be7c98db565f (diff) | |
download | pfsense-1bc783b6014c94d7fd70e1b1dea8a386a1fa9b99.zip pfsense-1bc783b6014c94d7fd70e1b1dea8a386a1fa9b99.tar.gz |
Update etc/inc/openvpn.inc
Mute error when interface does not exist, e.g. after reboot.
Diffstat (limited to 'etc/inc/openvpn.inc')
-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}")) |