Skip to content

Instantly share code, notes, and snippets.

@taiyoh
Created December 6, 2011 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taiyoh/1437355 to your computer and use it in GitHub Desktop.
Save taiyoh/1437355 to your computer and use it in GitHub Desktop.
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