Merge pull request #342 from resin-io/fix/unhandled-ssh-exceptions

Return control to capitano at the end of the ssh command
This commit is contained in:
Juan Cruz Viotti 2016-04-26 12:39:01 -04:00
commit 372fa01cf3
2 changed files with 2 additions and 1 deletions

View File

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

View File

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