From 7193f7923b457cb659b7d40becb0c7f72600b8b4 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 18 Oct 2006 21:01:52 +0000 Subject: Correct --onbiosdisk handling (#210705). --- kickstart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kickstart.py') diff --git a/kickstart.py b/kickstart.py index 9b6b5a2c9..39b7aa38d 100644 --- a/kickstart.py +++ b/kickstart.py @@ -361,8 +361,8 @@ class AnacondaKSHandlers(KickstartHandlers): if pd.onbiosdisk != "": pd.disk = isys.doGetBiosDisk(pd.onbiosdisk) - if pd.disk != "": - raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified BIOS disk %s cannot be determined" % pd.disk) + if pd.disk == "": + raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified BIOS disk %s cannot be determined" % pd.onbiosdisk) if pd.mountpoint == "swap": filesystem = fileSystemTypeGet('swap') -- cgit