Stop command-logging from non-stdin sources.
This commit is contained in:
parent
6ba9a7de7f
commit
580565e254
1 changed files with 1 additions and 1 deletions
2
misc.c
2
misc.c
|
@ -894,7 +894,7 @@ long I, VAL;
|
||||||
if (logfp && OPENED == stdin)
|
if (logfp && OPENED == stdin)
|
||||||
fclose(logfp);
|
fclose(logfp);
|
||||||
} else {
|
} else {
|
||||||
if (logfp)
|
if (logfp && OPENED == stdin)
|
||||||
IGNORE(fputs(INLINE+1, logfp));
|
IGNORE(fputs(INLINE+1, logfp));
|
||||||
else if (!isatty(0))
|
else if (!isatty(0))
|
||||||
IGNORE(fputs(INLINE+1, stdout));
|
IGNORE(fputs(INLINE+1, stdout));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue