summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VyattaConfig.pm')
-rw-r--r--scripts/VyattaConfig.pm2
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;
}