Skip to content

Commit

Permalink
Merge pull request #183 from kyungmi/master
Browse files Browse the repository at this point in the history
[BUGFIX] No stdout with `git config --get-regexp user` command.
  • Loading branch information
gotchazipc committed Jan 5, 2016
2 parents 8a69c81 + 0fdc47e commit c450701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/fs/lib/console-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function _startProc(cexec, callback) {
proc._stderr += data;
});

proc.on('exit', function (code) {
proc.on('close', function (code) {
logger.debug('Exec close', proc.pid, 'code:' + code, 'stdout:' + proc._stdout, 'stderr:' + proc._stderr);
_removeProc(cexec);
if (code !== 0) {
Expand Down
4 changes: 2 additions & 2 deletions src/server/fs/lib/container/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ Container.prototype.afterExecute_ = function (callback) {
});
}, this.options.timeout);
}
this.proc.on('exit', function () {
logger.debug('Container exit:', arguments);
this.proc.on('close', function () {
logger.debug('Container close:', arguments);
self.onTerminated_();
});
this.proc.on('error', function (err) {
Expand Down

0 comments on commit c450701

Please sign in to comment.