summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-03 01:59:38 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-03 01:59:38 +0000
commit560773e850de107ef7bae29e9678777439c99167 (patch)
tree96bda3b8be3f4ce6c5ed0f031a7cbe7a8b4cd20b
parent81d784f2ae0b3b15a8d29de7e27cf202aa97c459 (diff)
downloadanaconda-560773e850de107ef7bae29e9678777439c99167.tar.gz
anaconda-560773e850de107ef7bae29e9678777439c99167.tar.xz
anaconda-560773e850de107ef7bae29e9678777439c99167.zip
make sure boot dev also isn't none so they can't update a boot loader we can't detect (#79467)
-rw-r--r--textw/upgrade_bootloader_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/upgrade_bootloader_text.py b/textw/upgrade_bootloader_text.py
index f7aaa5983..edf9d3682 100644
--- a/textw/upgrade_bootloader_text.py
+++ b/textw/upgrade_bootloader_text.py
@@ -44,7 +44,7 @@ class UpgradeBootloaderWindow:
else:
nobl = 0
- if self.type != None:
+ if self.type != None and self.bootDev != None:
t = TextboxReflowed(53,
_("The installer has detected the %s boot "
"loader currently installed on %s.")