diff options
author | Ermal <eri@pfsense.org> | 2011-03-02 00:23:44 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-02 00:23:44 +0000 |
commit | cf46a14f95aeecd7591e8f3db571a6f085a2a51c (patch) | |
tree | 3ffeb536621bb9db04537d46bc94346f59c6c254 | |
parent | dcc897e5b3cbadab1732d504d12512291af713ce (diff) | |
download | pfsense-cf46a14f95aeecd7591e8f3db571a6f085a2a51c.zip pfsense-cf46a14f95aeecd7591e8f3db571a6f085a2a51c.tar.gz |
Do not be so drastic on normal failure.
-rw-r--r-- | usr/local/pkg/miniupnpd.inc | 2 |
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); |