diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-20 12:29:39 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-20 12:29:39 +0000 |
commit | 9ad6f47db3984cf47404c945300044fc14799f72 (patch) | |
tree | 989e45de95a9e8b68b881beb2ee0ace711b1ca42 /move/etc-monitorer.pl | |
parent | efe3f58262248204e77ab3d19b7095f4b7c8109d (diff) | |
download | drakx-backup-do-not-use-9ad6f47db3984cf47404c945300044fc14799f72.tar drakx-backup-do-not-use-9ad6f47db3984cf47404c945300044fc14799f72.tar.gz drakx-backup-do-not-use-9ad6f47db3984cf47404c945300044fc14799f72.tar.bz2 drakx-backup-do-not-use-9ad6f47db3984cf47404c945300044fc14799f72.tar.xz drakx-backup-do-not-use-9ad6f47db3984cf47404c945300044fc14799f72.zip |
don't keep messages about failing to preserve ownership
Diffstat (limited to 'move/etc-monitorer.pl')
-rwxr-xr-x | move/etc-monitorer.pl | 2 |
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, $_); } } |