mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-04 14:09:12 +00:00 
			
		
		
		
	followup: add newline in warn to avoid extra perl-internal info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									1373938627
								
							
						
					
					
						commit
						fda7291362
					
				@ -3393,10 +3393,9 @@ __PACKAGE__->register_method({
 | 
			
		||||
	PVE::QemuConfig->check_lock($conf);
 | 
			
		||||
 | 
			
		||||
	if (PVE::QemuServer::check_running($vmid)) {
 | 
			
		||||
	    die "cant migrate running VM without --online\n"
 | 
			
		||||
		if !$param->{online};
 | 
			
		||||
	    die "can't migrate running VM without --online\n" if !$param->{online};
 | 
			
		||||
	} else {
 | 
			
		||||
	    warn "VM isn't running. Doing offline migration instead." if $param->{online};
 | 
			
		||||
	    warn "VM isn't running. Doing offline migration instead\n." if $param->{online};
 | 
			
		||||
	    $param->{online} = 0;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user