]> git.proxmox.com Git - qemu-server.git/commitdiff
cleanups
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 5 Oct 2011 08:16:20 +0000 (10:16 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 5 Oct 2011 08:16:20 +0000 (10:16 +0200)
Makefile
PVE/API2/Qemu.pm
changelog.Debian

index 2c4809fe23f62c329a6599ddbf98c907a64d3937..6217a8e6f953dd900b4ef02a005614895ef8c9dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=2.0
 PACKAGE=qemu-server
-PKGREL=1
+PKGREL=2
 
 DESTDIR=
 PREFIX=/usr
index 5ea0349831b93cfeaf053a2fb99f9875a285b462..324900bf0278b12dd9e63ebedd02857bc4e39b68 100644 (file)
@@ -633,16 +633,9 @@ __PACKAGE__->register_method({
            my $qmstr = join(' ', @$qmcmd);
 
            # also redirect stderr (else we get RFB protocol errors)
-           my @cmd = ('/bin/nc', '-l', '-p', $port, '-w', $timeout, '-c', "$qmstr 2>/dev/null");
+           my $cmd = ['/bin/nc', '-l', '-p', $port, '-w', $timeout, '-c', "$qmstr 2>/dev/null"];
 
-           my $cmdstr = join(' ', @cmd);
-           syslog('info', "CMD3: $cmdstr");
-
-           if (system(@cmd) != 0) {
-               my $msg = "VM $vmid vnc proxy failed - $?";
-               syslog('err', $msg);
-               return;
-           }
+           PVE::Tools::run_command($cmd);
 
            return;
        };
index 916e686dd82096bdda3f11bb2e7d3cd8baecef1f..d6bdc6a3a80d128cd34c9cdb876b2c10ae1a17ca 100644 (file)
@@ -1,3 +1,9 @@
+qemu-server (2.0-2) unstable; urgency=low
+
+  * cleanups
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 05 Oct 2011 10:15:37 +0200
+
 qemu-server (2.0-1) unstable; urgency=low
 
   * see Changelog for details