summaryrefslogtreecommitdiffstats
path: root/firewall.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 /firewall.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 'firewall.py')
-rw-r--r--firewall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/firewall.py b/firewall.py
index 87c036c63..8f870c91c 100644
--- a/firewall.py
+++ b/firewall.py
@@ -68,7 +68,8 @@ class Firewall:
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.error("would have run %s", args)
except RuntimeError, msg: