xfree86: fix -quiet option behaviour
Previously it was trying to set the same value as the default one. Sigh. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Acked-by: Rami Ylimaki <ext-rami.ylimaki@nokia.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7284e19861
commit
5f898ddbaa
|
@ -1448,7 +1448,7 @@ ddxProcessArgument(int argc, char **argv, int i)
|
||||||
}
|
}
|
||||||
if (!strcmp(argv[i],"-quiet"))
|
if (!strcmp(argv[i],"-quiet"))
|
||||||
{
|
{
|
||||||
xf86SetVerbosity(0);
|
xf86SetVerbosity(-1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (!strcmp(argv[i],"-showconfig") || !strcmp(argv[i],"-version"))
|
if (!strcmp(argv[i],"-showconfig") || !strcmp(argv[i],"-version"))
|
||||||
|
|
Loading…
Reference in New Issue