aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fstabinfo.c3
-rw-r--r--src/mountinfo.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/fstabinfo.c b/src/fstabinfo.c
index a6ffe966..08c2b0b9 100644
--- a/src/fstabinfo.c
+++ b/src/fstabinfo.c
@@ -129,6 +129,9 @@ int fstabinfo (int argc, char **argv)
char *file;
bool filtered = false;
+ /* Ensure that we are only quiet when explicitly told to be */
+ unsetenv ("EINFO_QUIET");
+
while ((opt = getopt_long (argc, argv, getoptstring,
longopts, (int *) 0)) != -1)
{
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);