diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-19 15:46:18 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-19 15:46:18 -0500 |
commit | b17825376b4e0a75a385a89e3e795b0831c32813 (patch) | |
tree | 32b4dd0a30860aa8cafbe9b26b82e4b9d4d95743 | |
parent | d8c96528dd5dde4d521167e75f04c6be1eb512cc (diff) | |
download | pfsense-b17825376b4e0a75a385a89e3e795b0831c32813.zip pfsense-b17825376b4e0a75a385a89e3e795b0831c32813.tar.gz |
Correctly --
-rw-r--r-- | usr/local/www/installer/installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php index 4ce68a9..294802e 100644 --- a/usr/local/www/installer/installer.php +++ b/usr/local/www/installer/installer.php @@ -827,12 +827,12 @@ EOF; // Calculate swap disk sizes $memory = get_memory(); $swap_size = $memory[0] * 2; - // Decreate by 1 megabyte as some disks will fail - $swap_size--; $first_disk = trim(installer_find_first_disk()); $disk_info = pcsysinstall_get_disk_info($first_disk); $size = $disk_info['size']; $first_disk_size = $size - $swap_size; + // Decreate by 1 megabyte as some disks will fail + $first_disk_size--; // Debugging echo "\n\n<!-- $first_disk - " . print_r($disk_info, true) . " - $size - $first_disk_size -->\n\n"; |