diff options
author | Chris Lumens <clumens@redhat.com> | 2006-10-18 21:01:52 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-10-18 21:01:52 +0000 |
commit | 7193f7923b457cb659b7d40becb0c7f72600b8b4 (patch) | |
tree | a935ba515d52eb9eff61e7d482ca91c31be7f86a /kickstart.py | |
parent | a4ffff9f795f86feac7d9cf32eff5170986079ba (diff) | |
download | anaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.tar.gz anaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.tar.xz anaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.zip |
Correct --onbiosdisk handling (#210705).
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |