summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 0681d2f2d..13c7e5215 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -283,7 +283,7 @@ sub symlink {
}
sub rename {
- explanations "renamed file $_[0] to $_[1]";
+ explanations "renamed file $_[0] to $_[1]" if -r $_[0];
CORE::rename($_[0], $_[1]);
}