2003-06-02 Roland McGrath <roland@redhat.com>

* strace.c (main): Set -q when given -o and not -p, and not when not
	given -o, to match what the man page always said.
	Fixes Debian bug #47113, #153678.
This commit is contained in:
Roland McGrath 2003-06-03 01:35:20 +00:00
parent 8245cf5fca
commit 369310502b

View File

@ -368,13 +368,12 @@ char *argv[];
#endif
if (!outfname) {
qflag = 1;
setvbuf(outf, buf, _IOLBF, BUFSIZ);
}
else if (optind < argc)
else if (optind < argc) {
interactive = 0;
else
qflag = 1;
}
for (c = 0; c < tcbtabsize; c++) {
tcp = tcbtab[c];