diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-08 02:39:18 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-08 02:39:18 +0000 |
commit | 11e29352bc3b8a889f11a4b70d8e0915fbcc7229 (patch) | |
tree | 79f5a8afcfa14554e6e0b438a301852260ad74b9 /packages/freenas/www/disks_manage_init.php | |
parent | 57a4bc69ba39d6f030ca97011aefb6bb617929ee (diff) | |
download | pfsense-packages-11e29352bc3b8a889f11a4b70d8e0915fbcc7229.tar.gz pfsense-packages-11e29352bc3b8a889f11a4b70d8e0915fbcc7229.tar.bz2 pfsense-packages-11e29352bc3b8a889f11a4b70d8e0915fbcc7229.zip |
* fix: missing else if (disks_check_mount_fullname($disk))
Diffstat (limited to 'packages/freenas/www/disks_manage_init.php')
-rw-r--r-- | packages/freenas/www/disks_manage_init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/freenas/www/disks_manage_init.php b/packages/freenas/www/disks_manage_init.php index 0d5642d9..de4c65e8 100644 --- a/packages/freenas/www/disks_manage_init.php +++ b/packages/freenas/www/disks_manage_init.php @@ -500,11 +500,11 @@ if (! empty($_POST)) header("Status: 500 Internal Server Error. {$statustxt}"); echo $divcontents; exit; - } else { + } else if (disks_check_mount_fullname($disk)) { $errormsg = sprintf(gettext("The disk is currently mounted! <a href=%s>Unmount</a> this disk first before proceeding."), "disks_mount_tools.php?disk={$disk}&action=umount"); $do_format = false; } - + if($do_format) { /* Get the id of the disk array entry. */ $NotFound = 1; |