summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-10-18 21:01:52 +0000
committerChris Lumens <clumens@redhat.com>2006-10-18 21:01:52 +0000
commit7193f7923b457cb659b7d40becb0c7f72600b8b4 (patch)
treea935ba515d52eb9eff61e7d482ca91c31be7f86a /kickstart.py
parenta4ffff9f795f86feac7d9cf32eff5170986079ba (diff)
downloadanaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.tar.gz
anaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.tar.xz
anaconda-7193f7923b457cb659b7d40becb0c7f72600b8b4.zip
Correct --onbiosdisk handling (#210705).
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py4
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')