From 9a515ef4e3d0efc44e2bed3d9f747a7d0e1c87cc Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 26 Apr 2016 12:37:39 -0400 Subject: [PATCH] Return control to capitano at the end of the ssh command Signed-off-by: Juan Cruz Viotti --- build/actions/ssh.js | 2 +- lib/actions/ssh.coffee | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/actions/ssh.js b/build/actions/ssh.js index 9ad5ead7..506c8dbc 100644 --- a/build/actions/ssh.js +++ b/build/actions/ssh.js @@ -80,7 +80,7 @@ limitations under the License. stdio: 'inherit' }); }); - }); + }).nodeify(done); } }; diff --git a/lib/actions/ssh.coffee b/lib/actions/ssh.coffee index 667da15c..a18d34d7 100644 --- a/lib/actions/ssh.coffee +++ b/lib/actions/ssh.coffee @@ -75,3 +75,4 @@ module.exports = subShellCommand = getSubShellCommand(command) spawn = child_process.spawn subShellCommand.program, subShellCommand.args, stdio: 'inherit' + .nodeify(done)