[yast-commit] r62539 - /trunk/bootloader/src/modules/BootCommon.ycp

Author: jreidinger Date: Tue Oct 5 15:53:08 2010 New Revision: 62539 URL: http://svn.opensuse.org/viewcvs/yast?rev=62539&view=rev Log: explicitelly mention variables to compare to avoid problems with nil value (consider nil as false) Modified: trunk/bootloader/src/modules/BootCommon.ycp Modified: trunk/bootloader/src/modules/BootCommon.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/modules/BootCommon... ============================================================================== --- trunk/bootloader/src/modules/BootCommon.ycp (original) +++ trunk/bootloader/src/modules/BootCommon.ycp Tue Oct 5 15:53:08 2010 @@ -845,9 +845,9 @@ if (VerifyMDArray()) { - if ((enable_md_array_redundancy == false) && (haskey(my_globals, "boot_md_mbr"))) + if ((enable_md_array_redundancy != true) && (haskey(my_globals, "boot_md_mbr"))) my_globals = remove(my_globals, "boot_md_mbr"); - if ((enable_md_array_redundancy) && (!haskey(my_globals, "boot_md_mbr"))) + if ((enable_md_array_redundancy == true ) && (!haskey(my_globals, "boot_md_mbr"))) my_globals["boot_md_mbr"] = BootStorage::addMDSettingsToGlobals(); } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jreidinger@svn2.opensuse.org