mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-04 11:28:38 +00:00 
			
		
		
		
	fix #1570: fix template backup with pigz
when using pigz the resulting commandline would look like: pigz -p 4>file which resulted in pigz erroring out because it got no parameter for -p (because the shell interpreted the 4>file as a file descriptor) this patch adds a space so that the resulting line is pigz -p 4 > file Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									c449137a04
								
							
						
					
					
						commit
						a2fab11a46
					
				@ -274,7 +274,7 @@ sub archive {
 | 
			
		||||
	    $outcmd = "exec:cat";
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	$outcmd .= ">$filename" if !$opts->{stdout};
 | 
			
		||||
	$outcmd .= " > $filename" if !$opts->{stdout};
 | 
			
		||||
 | 
			
		||||
	my $cmd = ['/usr/bin/vma', 'create', '-v', '-c', $conffile];
 | 
			
		||||
	push @$cmd, '-c', $firewall if -e $firewall;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user