From ccb9ddada975b1fe338df7e42b127b8ae6541a9f Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Mon, 17 Dec 2007 12:07:15 -0800 Subject: filter aufs whiteout files --- scripts/VyattaConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/VyattaConfig.pm') 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; } -- cgit v1.2.3