Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 8952b59

Browse files
authored
Fix Stderr going to Stdout
Closes #61
1 parent a8a6350 commit 8952b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ Rsync.prototype.output = function(stdout, stderr) {
472472
this._outputHandlers.stdout = stdout;
473473
}
474474
if (typeof(stderr) === 'function') {
475-
this._outputHandlers.stderr = stdout;
475+
this._outputHandlers.stderr = stderr;
476476
}
477477

478478
return this;

0 commit comments

Comments
 (0)