2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-23 14:35:38 +00:00

Merge pull request #1610 from chenglch/xdsh

Propagate signal via ssh even though pipe broken can not be detected
This commit is contained in:
Xiaopeng Wang
2016-08-02 13:25:58 +08:00
committed by GitHub

View File

@ -75,6 +75,7 @@ sub remote_shell_command {
if ($ssh_version eq 'OpenSSH') {
push @command, '-o';
push @command, 'BatchMode=yes';
push @command, '-tt';
($$config{'options'} !~ /-X/) && push @command, '-x';
}