From 8952b596ec9bd5ef1c1b678daae3050858c3d838 Mon Sep 17 00:00:00 2001 From: Matt Lyons Date: Thu, 8 Feb 2018 20:29:26 -0700 Subject: [PATCH] Fix Stderr going to Stdout Closes #61 --- rsync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync.js b/rsync.js index a8a7d73..97df0f1 100644 --- a/rsync.js +++ b/rsync.js @@ -472,7 +472,7 @@ Rsync.prototype.output = function(stdout, stderr) { this._outputHandlers.stdout = stdout; } if (typeof(stderr) === 'function') { - this._outputHandlers.stderr = stdout; + this._outputHandlers.stderr = stderr; } return this;