Parent Directory | Revision Log | Patch
revision 1705 by boklm, Wed Jun 22 22:31:19 2011 UTC | revision 2907 by pterjan, Tue Feb 7 21:00:55 2012 UTC | |
---|---|---|
# | Line 36 sub run { | Line 36 sub run { |
36 | croak "Missing destination" unless $self->{'_destination'}; | croak "Missing destination" unless $self->{'_destination'}; |
37 | ||
38 | ||
39 | if (system("/usr/bin/rsync -alH --delete $root/$target/ $self->{_destination}/$target/")) { | if (system("/usr/bin/rsync -alH --delete --delete-after $root/$target/ $self->{_destination}/$target/")) { |
40 | $self->{_error} = "Rsync command failed ($!)"; | $self->{_error} = "Rsync command failed ($!)"; |
41 | } | } |
42 |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |