summaryrefslogtreecommitdiffstats
path: root/move/etc-monitorer.pl
diff options
context:
space:
mode:
Diffstat (limited to 'move/etc-monitorer.pl')
-rwxr-xr-xmove/etc-monitorer.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/etc-monitorer.pl b/move/etc-monitorer.pl
index 0593554ac..fa8fa6aa5 100755
--- a/move/etc-monitorer.pl
+++ b/move/etc-monitorer.pl
@@ -15,7 +15,7 @@ foreach my $dir (@ARGV) {
my $dest = "/home/.sysconf/$machine_ident$_";
mkdir_p(dirname($dest)); #- case of newly created directories
logit("restoring broken symlink $_ -> $dest");
- system("mv $_ $dest");
+ system("mv $_ $dest 2>/dev/null");
symlink($dest, $_);
}
}