[pve-devel] [PATCH] vzdump: make sure only DOT pid files excluded

Jean-Francois Dagenais jeff.dagenais at gmail.com
Thu Mar 3 15:48:40 CET 2016


and not files like "acpid"

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais at gmail.com>
---
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 8f5af3f..a3d1f2c 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -593,7 +593,7 @@ sub new {
 	push @$findexcl, '/var/log/?*',
 	                 '/tmp/?*',
 	                 '/var/tmp/?*',
-	                 '/var/run/?*pid';
+	                 '/var/run/?*.pid';
     }
 
     foreach my $p (@plugins) {
-- 
2.1.4




More information about the pve-devel mailing list