aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 23:01:28 +0000
committerRoy Marples <roy@marples.name>2007-12-14 23:01:28 +0000
commitd2e3fcae3c8df601206970c3787f4bf1581e1025 (patch)
tree05c59eb7b5ae3213fa3735565a6af0cd95491bdf /src/mountinfo.c
parent10edca8e0e16c3a5e927e80c4cfd1a06c0b76e76 (diff)
Our tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c
index 3e471e49..a55bf4fd 100644
--- a/src/mountinfo.c
+++ b/src/mountinfo.c
@@ -366,6 +366,9 @@ int mountinfo (int argc, char **argv)
int result;
bool quiet;
+ /* Ensure that we are only quiet when explicitly told to be */
+ unsetenv ("EINFO_QUIET");
+
#define DO_REG(_var) \
if (_var) free (_var); \
_var = get_regex (optarg);