diff options
author | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-17 12:07:15 -0800 |
---|---|---|
committer | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-17 12:07:15 -0800 |
commit | ccb9ddada975b1fe338df7e42b127b8ae6541a9f (patch) | |
tree | 0bb89e64238b369774463562fe151a74c2e3a6ca /scripts/VyattaConfig.pm | |
parent | 8d6bac43ac6604b3c2a0ac9315a2e5c168299a5a (diff) | |
download | vyatta-cfg-ccb9ddada975b1fe338df7e42b127b8ae6541a9f.tar.gz vyatta-cfg-ccb9ddada975b1fe338df7e42b127b8ae6541a9f.zip |
filter aufs whiteout files
Diffstat (limited to 'scripts/VyattaConfig.pm')
-rw-r--r-- | scripts/VyattaConfig.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaConfig.pm b/scripts/VyattaConfig.pm index a783957..9b1b933 100644 --- a/scripts/VyattaConfig.pm +++ b/scripts/VyattaConfig.pm @@ -284,7 +284,7 @@ sub listDeleted { if (! -d "$filepath") { return undef; } else { opendir DIR, "$filepath" or return undef; - @nodes = grep /^\.wh./, readdir DIR; + @nodes = grep !/^\.wh\.\.wh\./, grep /^\.wh./, readdir DIR; closedir DIR; } |