summaryrefslogtreecommitdiffstats
path: root/usr/local/www/installer/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/installer/index.php')
-rw-r--r--usr/local/www/installer/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/installer/index.php b/usr/local/www/installer/index.php
index 88f01f7..13443dc 100644
--- a/usr/local/www/installer/index.php
+++ b/usr/local/www/installer/index.php
@@ -447,7 +447,8 @@ function verify_before_install() {
// Loop through posted items and create an array
for($x=1; isset($_REQUEST['fstype' . $x]); $x++) {
$tmparray = array();
- $tmparray['mountpoint'] = $_REQUEST['mountpoint' . $x];
+ if($_REQUEST['fstype'] <> "SWAP")
+ $tmparray['mountpoint'] = $_REQUEST['mountpoint' . $x];
$tmparray['disk'] = $_REQUEST['disk' . $x];
$tmparray['fstype'] = $_REQUEST['fstype' . $x];
$tmparray['size'] = $_REQUEST['size' . $x];
OpenPOWER on IntegriCloud