diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-08-30 19:34:01 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-08-30 19:34:01 +0000 |
commit | a14c98bed8e00a4d515417ccaf8be16f08a89d0e (patch) | |
tree | f1edea941e51a826b0081e3156cfe35314aecc9c /rescue.py | |
parent | 8db26c7e6dfefe5d036036b8dbb65ccd17197806 (diff) | |
download | anaconda-a14c98bed8e00a4d515417ccaf8be16f08a89d0e.tar.gz anaconda-a14c98bed8e00a4d515417ccaf8be16f08a89d0e.tar.xz anaconda-a14c98bed8e00a4d515417ccaf8be16f08a89d0e.zip |
fix traceback in rescue mode on weird cases so that they at least
get a shell (#131297)
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -422,7 +422,10 @@ def runRescue(instPath, mountroot, id): print if rootmounted and not readOnly: makeMtab(instPath, fs) - makeResolvConf(instPath) + try: + makeResolvConf(instPath) + except Exception, e: + log("error making a resolv.conf: %s" %(e,)) print _("Your system is mounted under the %s directory.") % (instPath,) print |