summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-06 18:56:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-06 18:56:05 +0000
commite196278c081b2ee5fe12ed5d2a58aec788fa9aa8 (patch)
tree16c6445873055fb7e48c58e21850ed95ca9e8a56 /etc/inc/config.inc
parent7ed5f1c802a14041cb973bf40397bb9ab21b0166 (diff)
downloadpfsense-e196278c081b2ee5fe12ed5d2a58aec788fa9aa8.zip
pfsense-e196278c081b2ee5fe12ed5d2a58aec788fa9aa8.tar.gz
Return instead of exiting
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc6
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;
}
}
}
OpenPOWER on IntegriCloud