diff options
author | Chris Lumens <clumens@redhat.com> | 2010-06-21 10:11:52 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-06-21 10:22:40 -0400 |
commit | 2f9552289ba3edfff5f6d9e1dd1114814e4b2fd8 (patch) | |
tree | 080a2ba264fb5e4e23399c368fd709c86c72a1a7 /pyanaconda/rescue.py | |
parent | c4c9634d71aa6316c23e4ad72fb5b59e70c8e007 (diff) | |
download | anaconda-2f9552289ba3edfff5f6d9e1dd1114814e4b2fd8.tar.gz anaconda-2f9552289ba3edfff5f6d9e1dd1114814e4b2fd8.tar.xz anaconda-2f9552289ba3edfff5f6d9e1dd1114814e4b2fd8.zip |
Check before running post scripts on kickstart rescue (#605754, atodorov).
Diffstat (limited to 'pyanaconda/rescue.py')
-rw-r--r-- | pyanaconda/rescue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py index f0171b306..868dce195 100644 --- a/pyanaconda/rescue.py +++ b/pyanaconda/rescue.py @@ -276,7 +276,7 @@ def runRescue(anaconda): if not anaconda.rescue_mount: # the %post should be responsible for mounting all needed file systems # NOTE: 1st script must be bash or simple python as nothing else might be available in the rescue image - if anaconda.ksdata: + if anaconda.ksdata and anaconda.ksdata.scripts: from kickstart import runPostScripts runPostScripts(anaconda) else: |