summaryrefslogtreecommitdiffstats
path: root/move/etc-monitorer.pl
diff options
context:
space:
mode:
Diffstat (limited to 'move/etc-monitorer.pl')
-rwxr-xr-xmove/etc-monitorer.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/move/etc-monitorer.pl b/move/etc-monitorer.pl
index 2f79b7a49..231b9f772 100755
--- a/move/etc-monitorer.pl
+++ b/move/etc-monitorer.pl
@@ -10,6 +10,7 @@ foreach my $dir (@ARGV) {
my @etcfiles = glob_("$dir/*");
foreach (@etcfiles) {
if ($_ eq '/etc/sudoers' #- /etc/sudoers can't be a link
+ || $_ eq '/etc/mtab' #- same for /etc/mtab
|| !-f
|| -l && readlink =~ m|^/|) { #- we want to trap relative symlinks only
next;