summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-07 22:13:10 +0000
committerPeter Jones <pjones@redhat.com>2005-03-07 22:13:10 +0000
commitf81dfcb3564fe4bbbd18b10d0dc30e1706992b10 (patch)
treefe899a7e7618d40b65b79100fcb5b6f740bf3a11 /anaconda
parent34eaac1e39a6da422951aa2dbeb5249900ab13c5 (diff)
downloadanaconda-f81dfcb3564fe4bbbd18b10d0dc30e1706992b10.tar.gz
anaconda-f81dfcb3564fe4bbbd18b10d0dc30e1706992b10.tar.xz
anaconda-f81dfcb3564fe4bbbd18b10d0dc30e1706992b10.zip
suppress lvm warning messages about open file descriptors
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda5
1 files changed, 4 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 9ea85003f..105172fdc 100755
--- a/anaconda
+++ b/anaconda
@@ -13,7 +13,7 @@
#
# ... And many others
#
-# Copyright 1999-2004 Red Hat, Inc.
+# Copyright 1999-2005 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
@@ -381,6 +381,9 @@ os.environ['HOME'] = '/tmp'
os.environ['LC_NUMERIC'] = 'C'
os.environ["GCONF_GLOBAL_LOCKS"] = "1"
+# In theory, this gets rid of our LVM file descriptor warnings
+os.environ["LVM_SUPPRESS_FD_WARNINGS"] = "1"
+
if os.environ.has_key ("ANACONDAARGS"):
theargs = string.split (os.environ["ANACONDAARGS"])
else: