summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-20 12:29:39 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-20 12:29:39 +0000
commit9ad6f47db3984cf47404c945300044fc14799f72 (patch)
tree989e45de95a9e8b68b881beb2ee0ace711b1ca42
parentefe3f58262248204e77ab3d19b7095f4b7c8109d (diff)
downloaddrakx-9ad6f47db3984cf47404c945300044fc14799f72.tar
drakx-9ad6f47db3984cf47404c945300044fc14799f72.tar.gz
drakx-9ad6f47db3984cf47404c945300044fc14799f72.tar.bz2
drakx-9ad6f47db3984cf47404c945300044fc14799f72.tar.xz
drakx-9ad6f47db3984cf47404c945300044fc14799f72.zip
don't keep messages about failing to preserve ownership
-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, $_);
}
}