Return control to capitano at the end of the ssh command

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
Juan Cruz Viotti 2016-04-26 12:37:39 -04:00
parent 6beb6ff44e
commit 9a515ef4e3
2 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,7 @@ limitations under the License.
stdio: 'inherit' stdio: 'inherit'
}); });
}); });
}); }).nodeify(done);
} }
}; };

View File

@ -75,3 +75,4 @@ module.exports =
subShellCommand = getSubShellCommand(command) subShellCommand = getSubShellCommand(command)
spawn = child_process.spawn subShellCommand.program, subShellCommand.args, spawn = child_process.spawn subShellCommand.program, subShellCommand.args,
stdio: 'inherit' stdio: 'inherit'
.nodeify(done)