From cf46a14f95aeecd7591e8f3db571a6f085a2a51c Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 2 Mar 2011 00:23:44 +0000 Subject: Do not be so drastic on normal failure. --- usr/local/pkg/miniupnpd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/pkg') 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); -- cgit v1.1