diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-06 18:56:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-06 18:56:05 +0000 |
commit | e196278c081b2ee5fe12ed5d2a58aec788fa9aa8 (patch) | |
tree | 16c6445873055fb7e48c58e21850ed95ca9e8a56 /etc/inc/config.inc | |
parent | 7ed5f1c802a14041cb973bf40397bb9ab21b0166 (diff) | |
download | pfsense-e196278c081b2ee5fe12ed5d2a58aec788fa9aa8.zip pfsense-e196278c081b2ee5fe12ed5d2a58aec788fa9aa8.tar.gz |
Return instead of exiting
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r-- | etc/inc/config.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index ed57e4d..f921790 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1022,7 +1022,7 @@ EOD; echo "\nEnter the LAN interface name or 'a' for auto-detection: "; $lanif = chop(fgets($fp)); if ($lanif === "") { - exit(0); + return; } if ($lanif === "a") @@ -1038,7 +1038,7 @@ EOD; echo "\nEnter the WAN interface name or 'a' for auto-detection: "; $wanif = chop(fgets($fp)); if ($wanif === "") { - exit(0); + return; } if ($wanif === "a") $wanif = autodetect_interface("WAN", $fp); @@ -1091,7 +1091,7 @@ Error: you cannot assign the same interface name twice! EOD; - exit(0); + return; } } } |