Skip to content
Snippets Groups Projects
Commit 907757d3 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix (I hope)

Rev: NT/tools/lib.pike:1.13
parent eecf6bc3
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,9 @@ int silent_do_cmd(string *cmd, mixed|void filter, int|void silent) ...@@ -232,7 +232,9 @@ int silent_do_cmd(string *cmd, mixed|void filter, int|void silent)
} }
}; };
if(!silent && !!Stdio.stdin->tcgetattr()) if(!silent &&
!!Stdio.stdin->tcgetattr() &&
!!Stdio.stdout->tcgetattr())
{ {
inout=RLInOut(); inout=RLInOut();
}else }else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment