summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-10-10 06:55:21 -0700
committerWayne Davison <wayned@samba.org>2008-10-10 06:55:21 -0700
commitb1220d62f49ce39d924fc916235b30916c7da6b7 (patch)
treea2f89a7bfd43f4a93074e368df26f1078ffb46ce
parent5df89a1a44af7b5b2ff79fe4cd88a6710373673c (diff)
downloadrsync-b1220d62f49ce39d924fc916235b30916c7da6b7.tar.gz
Fix the error message on one of the rename operations.
-rwxr-xr-xsupport/atomic-rsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/atomic-rsync b/support/atomic-rsync
index 64967367..33a493c2 100755
--- 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;