Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e366e53
)
Fix the error message on one of the rename operations.
author
Wayne Davison
<wayned@samba.org>
Tue, 30 Sep 2008 04:54:49 +0000
(21:54 -0700)
committer
Wayne Davison
<wayned@samba.org>
Tue, 30 Sep 2008 04:54:49 +0000
(21:54 -0700)
support/atomic-rsync
patch
|
blob
|
blame
|
history
diff --git
a/support/atomic-rsync
b/support/atomic-rsync
index
6496736
..
33a493c
100755
(executable)
--- a/
support/atomic-rsync
+++ b/
support/atomic-rsync
@@
-48,7
+48,7
@@
if (system($RSYNC_PROG, "--link-dest=$dest_dir", @ARGV)) {
exit $?;
}
-rename($dest_dir, $old_dir) or die "Unable to rename $
new
_dir to $old_dir: $!";
+rename($dest_dir, $old_dir) or die "Unable to rename $
dest
_dir to $old_dir: $!";
rename($new_dir, $dest_dir) or die "Unable to rename $new_dir to $dest_dir: $!";
exit;