mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-10 14:06:39 +00:00
cleanups
This commit is contained in:
parent
9f91ff0281
commit
be62c45cf9
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=qemu-server
|
||||
PKGREL=1
|
||||
PKGREL=2
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user