summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 35be9e6..9cdcf1e 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -60,7 +60,7 @@
services_dnsupdate_process();
/* write current WAN IP to file */
- $fd = @fopen("{$g['vardb_path']}/{$interface}_ip", "w");
+ $fd = fopen("{$g['vardb_path']}/{$interface}_ip", "w");
if ($fd) {
fwrite($fd, $curwanip);
fclose($fd);
OpenPOWER on IntegriCloud