mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 22:40:34 +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
|
VERSION=2.0
|
||||||
PACKAGE=qemu-server
|
PACKAGE=qemu-server
|
||||||
PKGREL=1
|
PKGREL=2
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
@ -633,16 +633,9 @@ __PACKAGE__->register_method({
|
|||||||
my $qmstr = join(' ', @$qmcmd);
|
my $qmstr = join(' ', @$qmcmd);
|
||||||
|
|
||||||
# also redirect stderr (else we get RFB protocol errors)
|
# 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);
|
PVE::Tools::run_command($cmd);
|
||||||
syslog('info', "CMD3: $cmdstr");
|
|
||||||
|
|
||||||
if (system(@cmd) != 0) {
|
|
||||||
my $msg = "VM $vmid vnc proxy failed - $?";
|
|
||||||
syslog('err', $msg);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
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
|
qemu-server (2.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* see Changelog for details
|
* see Changelog for details
|
||||||
|
Loading…
Reference in New Issue
Block a user