summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-02 00:23:44 +0000
committerErmal <eri@pfsense.org>2011-03-02 00:23:44 +0000
commitcf46a14f95aeecd7591e8f3db571a6f085a2a51c (patch)
tree3ffeb536621bb9db04537d46bc94346f59c6c254
parentdcc897e5b3cbadab1732d504d12512291af713ce (diff)
downloadpfsense-cf46a14f95aeecd7591e8f3db571a6f085a2a51c.zip
pfsense-cf46a14f95aeecd7591e8f3db571a6f085a2a51c.tar.gz
Do not be so drastic on normal failure.
-rw-r--r--usr/local/pkg/miniupnpd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/pkg/miniupnpd.inc b/usr/local/pkg/miniupnpd.inc
index d7ba238..cfa6267 100644
--- a/usr/local/pkg/miniupnpd.inc
+++ b/usr/local/pkg/miniupnpd.inc
@@ -19,7 +19,7 @@
$handle = fopen($file, 'w');
if(!$handle) {
upnp_warn("Could not open {$file} for writing.");
- exit;
+ return;
}
fwrite($handle, $text);
fclose($handle);
OpenPOWER on IntegriCloud