Our tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352
This commit is contained in:
parent
10edca8e0e
commit
d2e3fcae3c
@ -129,6 +129,9 @@ int fstabinfo (int argc, char **argv)
|
|||||||
char *file;
|
char *file;
|
||||||
bool filtered = false;
|
bool filtered = false;
|
||||||
|
|
||||||
|
/* Ensure that we are only quiet when explicitly told to be */
|
||||||
|
unsetenv ("EINFO_QUIET");
|
||||||
|
|
||||||
while ((opt = getopt_long (argc, argv, getoptstring,
|
while ((opt = getopt_long (argc, argv, getoptstring,
|
||||||
longopts, (int *) 0)) != -1)
|
longopts, (int *) 0)) != -1)
|
||||||
{
|
{
|
||||||
|
@ -366,6 +366,9 @@ int mountinfo (int argc, char **argv)
|
|||||||
int result;
|
int result;
|
||||||
bool quiet;
|
bool quiet;
|
||||||
|
|
||||||
|
/* Ensure that we are only quiet when explicitly told to be */
|
||||||
|
unsetenv ("EINFO_QUIET");
|
||||||
|
|
||||||
#define DO_REG(_var) \
|
#define DO_REG(_var) \
|
||||||
if (_var) free (_var); \
|
if (_var) free (_var); \
|
||||||
_var = get_regex (optarg);
|
_var = get_regex (optarg);
|
||||||
|
Loading…
Reference in New Issue
Block a user