summaryrefslogtreecommitdiffstats
path: root/security.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-03-28 13:10:44 -0400
committerChris Lumens <clumens@redhat.com>2008-03-28 13:10:44 -0400
commit5b54b6803bdd49c13f7392d0e7282ac36a555f16 (patch)
tree9e9d83e6a97abc7543c2d61b3e79aadcdd05b113 /security.py
parenta39f8937968c5a3e030807dc4827bb4fb5dad136 (diff)
downloadanaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.tar.gz
anaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.tar.xz
anaconda-5b54b6803bdd49c13f7392d0e7282ac36a555f16.zip
Don't pass None as stdout or stderr.
Diffstat (limited to 'security.py')
-rw-r--r--security.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/security.py b/security.py
index 5de3c0673..7a76364a5 100644
--- a/security.py
+++ b/security.py
@@ -67,8 +67,8 @@ class Security:
try:
if not flags.test:
iutil.execWithRedirect("/usr/sbin/lokkit", args,
- root = instPath, stdout = None,
- stderr = None)
+ root = instPath, stdout = "/dev/null",
+ stderr = "/dev/null")
else:
log.info("would have run %s" %(args,))
except RuntimeError, msg: