Our tools should not inherit EINFO_QUIET from the curret environmet, Gentoo bug #201352
This commit is contained in:
		| @@ -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) | ||||
| 	{ | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user