diff options
author | Erik Troan <ewt@redhat.com> | 2001-03-07 20:51:49 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-03-07 20:51:49 +0000 |
commit | 0c6ad6d06686b25c92d82477ba22f88320a9e6bf (patch) | |
tree | 072a4cf5a99de1b3d9b632ecde4b7c94df11f7c1 /lilo.py | |
parent | 0db8415976e948c1700bc3f8e7e9f4e48f82a48f (diff) | |
download | anaconda-0c6ad6d06686b25c92d82477ba22f88320a9e6bf.tar.gz anaconda-0c6ad6d06686b25c92d82477ba22f88320a9e6bf.tar.xz anaconda-0c6ad6d06686b25c92d82477ba22f88320a9e6bf.zip |
return errors
Diffstat (limited to 'lilo.py')
-rw-r--r-- | lilo.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -447,9 +447,11 @@ class LiloConfiguration: lilo.write(instRoot + "/etc/lilo.conf", perms = perms) - iutil.execWithRedirect(instRoot + '/sbin/lilo' , - [ "lilo", "-r", instRoot ], - stdout = None) + # throw away stdout, catch stderr + str = iutil.execWithCapture(instRoot + '/sbin/lilo' , + [ "lilo", "-r", instRoot ], + catchfd = 2, closefd = 1) + return str def setDevice(self, device): if (type(device) == type((1,))): |