diff options
Diffstat (limited to 'tests/sshserver.pl')
-rw-r--r-- | tests/sshserver.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 944193907..90281eb40 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -1122,6 +1122,9 @@ if ($sshdid =~ /OpenSSH-Windows/) { close(OUT); } + # Flush output. + $| = 1; + # Put an "exec" in front of the command so that the child process # keeps this child's process ID by being tied to the spawned shell. exec("exec $cmd") || die "Can't exec() $cmd: $!"; |