[pve-devel] [PATCH] fix #1111: qm showcmd wrong escape sequence

Wolfgang Link w.link at proxmox.com
Wed Sep 21 15:14:18 CEST 2016


---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index c3a53c9..1244c02 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -4605,7 +4605,7 @@ sub vm_commandline {
 
     my $cmd = config_to_command($storecfg, $vmid, $conf, $defaults);
 
-    return join(' ', @$cmd);
+    return PVE::Tools::cmd2string($cmd);
 }
 
 sub vm_reset {
-- 
2.1.4





More information about the pve-devel mailing list