diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-19 12:57:16 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-19 12:57:16 +0000 |
commit | 2f57b97bef7bbb10502c36ee85a5521d84f36c7c (patch) | |
tree | af76bc8a8278f29275dd3d0424d3b6c7150d9fcd /move | |
parent | 33b33b0871906a97dc1588d0f75031740d90ef51 (diff) | |
download | drakx-2f57b97bef7bbb10502c36ee85a5521d84f36c7c.tar drakx-2f57b97bef7bbb10502c36ee85a5521d84f36c7c.tar.gz drakx-2f57b97bef7bbb10502c36ee85a5521d84f36c7c.tar.bz2 drakx-2f57b97bef7bbb10502c36ee85a5521d84f36c7c.tar.xz drakx-2f57b97bef7bbb10502c36ee85a5521d84f36c7c.zip |
pixel rulz
Diffstat (limited to 'move')
-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 b0bb90362..eb09c1e8f 100755 --- a/move/etc-monitorer.pl +++ b/move/etc-monitorer.pl @@ -8,7 +8,7 @@ sub logit { outpend "/var/log/etc-monitorer.log", sprintf("[%s] @_\n", chomp_(`d my $machine_ident = cat_('/var/lib/machine_ident'); my $sysconf = "/home/.sysconf/$machine_ident"; -foreach (chomp_(`find $ARGV[0] -type f -maxdepth 1`)) { +foreach (glob_("$ARGV[0]/*")) { next if $_ eq '/etc/sudoers'; #- /etc/sudoers can't be a link if (-f && !-l) { my $dest = "/home/.sysconf/$machine_ident$_"; |