Created
December 6, 2011 08:24
-
-
Save taiyoh/1437355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Archer/Plugin/Rsync.pm b/lib/Archer/Plugin/Rsync.pm | |
index c2f943c..1eebd23 100644 | |
--- a/lib/Archer/Plugin/Rsync.pm | |
+++ b/lib/Archer/Plugin/Rsync.pm | |
@@ -44,8 +44,8 @@ sub run { | |
$rsync->exec; | |
- $self->log( debug => $rsync->out ) if $rsync->out; | |
- $self->log( debug => $rsync->err ) if $rsync->err; | |
+ $self->log( debug => "\n" . join("", $rsync->out) ) if $rsync->out; | |
+ $self->log( debug => "\n" . join("", $rsync->err) ) if $rsync->err; | |
} | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment