summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index 05699c277..0ac30bc12 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -147,7 +147,7 @@ def writeBootloader(anaconda):
else:
otherList.append((label, longlabel, dev))
- if kernelLabel is None and not flags.livecd:
+ if kernelLabel is None and not flags.livecd: # FIXME
log.error("unable to find default image, bailing")
if not justConfigFile:
w.pop()
@@ -196,7 +196,9 @@ def writeBootloader(anaconda):
_("No kernel packages were installed on your "
"system. Your boot loader configuration "
"will not be changed."))
- w.pop()
+
+ if not justConfigFile:
+ w.pop()
dosync()
# return instance of the appropriate bootloader for our arch