fix #1005: don't exclude /var/log/?* with stdexcludes

the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.
This commit is contained in:
Fabian Grünbichler 2016-06-08 10:02:35 +02:00 committed by Dietmar Maurer
parent ef456bd0b0
commit e42ae622cc
2 changed files with 1 additions and 3 deletions

View File

@ -119,7 +119,6 @@ You can specify a hook script with option C<--script>. This script is called at
vzdump skips the following files wit option --stdexcludes
/var/log/?*
/tmp/?*
/var/tmp/?*
/var/run/?*pid

View File

@ -558,8 +558,7 @@ sub new {
}
if ($opts->{stdexcludes}) {
push @$findexcl, '/var/log/?*',
'/tmp/?*',
push @$findexcl, '/tmp/?*',
'/var/tmp/?*',
'/var/run/?*.pid';
}