resgroup: concourse: do not let inner ssh hijack the input.
In the resgroup concourse we use bash here doc to execute commands on remote server, but once a ssh command is executed the preceding commands are all ignored. This is because the here doc is hijacked or consumed by the inner ssh. Fixed by redirect inner ssh's stdin from /dev/null.
Showing
想要评论请 注册 或 登录