Révision 8bb47a46
Ajouté par Ermal il y a plus de 9 ans
etc/inc/openvpn.inc | ||
---|---|---|
903 | 903 |
mwexec("/sbin/ifconfig " . escapeshellarg($devname) . " name " . escapeshellarg($tunname)); |
904 | 904 |
|
905 | 905 |
/* remove the configuration files */ |
906 |
array_map('unlink', glob("{$g['varetc_path']}/openvpn/{$mode_id}.*")); |
|
906 |
@array_map('unlink', glob("{$g['varetc_path']}/openvpn/{$mode_id}.*"));
|
|
907 | 907 |
} |
908 | 908 |
|
909 | 909 |
function openvpn_cleanup_csc($common_name) { |
Formats disponibles : Unified diff
Do not show errors from trying to delete a socket or similar