diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-28 13:10:44 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-28 13:10:44 -0400 |
commit | 5b54b6803bdd49c13f7392d0e7282ac36a555f16 (patch) | |
tree | 9e9d83e6a97abc7543c2d61b3e79aadcdd05b113 /packages.py | |
parent | a39f8937968c5a3e030807dc4827bb4fb5dad136 (diff) | |
download | anaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.tar.gz anaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.tar.xz anaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.zip |
Don't pass None as stdout or stderr.
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.py b/packages.py index c4b22fcd3..b52580886 100644 --- a/packages.py +++ b/packages.py @@ -322,7 +322,7 @@ def recreateInitrd (kernelTag, instRoot): log.info("recreating initrd for %s" % (kernelTag,)) iutil.execWithRedirect("/sbin/new-kernel-pkg", [ "--mkinitrd", "--depmod", "--install", kernelTag ], - stdout = None, stderr = None, + stdout = "/dev/null", stderr = "/dev/null", searchPath = 1, root = instRoot) def regKeyScreen(anaconda): |