From 2c11e80e2e4bab0d88fc46a7aa9a9bdf13462fcb Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 29 Sep 2008 21:54:49 -0700 Subject: [PATCH] Fix the error message on one of the rename operations. --- support/atomic-rsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1