mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
skip vim swp files in the profile dir. bnc#205105
This commit is contained in:
@@ -4016,6 +4016,7 @@ sub isSkippableFile($) {
|
||||
return ($path =~ /(^|\/)\.[^\/]*$/
|
||||
|| $path =~ /\.rpm(save|new)$/
|
||||
|| $path =~ /\.dpkg-(old|new)$/
|
||||
|| $path =~ /\.swp$/
|
||||
|| $path =~ /\~$/);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user