Skip to content

Commit

Permalink
rsync: log the command used
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitaram Chamarty committed Feb 1, 2010
1 parent 18312de commit 20c29c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gitolite.pm
Expand Up @@ -230,6 +230,7 @@ sub ext_cmd_rsync
# that should "die" if there's a problem

wrap_chdir($RSYNC_BASE);
&log_it("$ENV{GL_TS}\t$ENV{SSH_ORIGINAL_COMMAND}\t$ENV{USER}\n");
exec $ENV{SHELL}, "-c", $ENV{SSH_ORIGINAL_COMMAND};
}

Expand Down

0 comments on commit 20c29c0

Please sign in to comment.