diff --git a/Makefile b/Makefile index 2c4809fe..6217a8e6 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 VERSION=2.0 PACKAGE=qemu-server -PKGREL=1 +PKGREL=2 DESTDIR= PREFIX=/usr diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 5ea03498..324900bf 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -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; }; diff --git a/changelog.Debian b/changelog.Debian index 916e686d..d6bdc6a3 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +qemu-server (2.0-2) unstable; urgency=low + + * cleanups + + -- Proxmox Support Team Wed, 05 Oct 2011 10:15:37 +0200 + qemu-server (2.0-1) unstable; urgency=low * see Changelog for details