mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-09 23:37:08 +00:00
use correct log function
This commit is contained in:
parent
643adc8235
commit
92ea5df863
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
RELEASE=2.0
|
RELEASE=2.0
|
||||||
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
PKGREL=9
|
PKGREL=10
|
||||||
|
|
||||||
PACKAGE=libpve-common-perl
|
PACKAGE=libpve-common-perl
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ sub cmd {
|
|||||||
|
|
||||||
my $logfunc = sub {
|
my $logfunc = sub {
|
||||||
my $line = shift;
|
my $line = shift;
|
||||||
logmsg('info', $line);
|
$self->log('info', $line);
|
||||||
};
|
};
|
||||||
|
|
||||||
$self->log('info', "# " . PVE::Tools::cmd2string($cmd));
|
$self->log('info', "# " . PVE::Tools::cmd2string($cmd));
|
||||||
@ -134,7 +134,7 @@ sub migrate {
|
|||||||
local $ENV{RSYNC_RSH} = join(' ', @ssh_cmd);
|
local $ENV{RSYNC_RSH} = join(' ', @ssh_cmd);
|
||||||
|
|
||||||
local $SIG{INT} = $SIG{TERM} = $SIG{QUIT} = $SIG{HUP} = $SIG{PIPE} = sub {
|
local $SIG{INT} = $SIG{TERM} = $SIG{QUIT} = $SIG{HUP} = $SIG{PIPE} = sub {
|
||||||
logmsg('err', "received interrupt - delayed");
|
$self->log('err', "received interrupt - delayed");
|
||||||
$self->{delayed_interrupt} = 1;
|
$self->{delayed_interrupt} = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
libpve-common-perl (1.0-10) unstable; urgency=low
|
||||||
|
|
||||||
|
* add helpers to implement migration
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Thu, 08 Dec 2011 11:03:54 +0100
|
||||||
|
|
||||||
libpve-common-perl (1.0-9) unstable; urgency=low
|
libpve-common-perl (1.0-9) unstable; urgency=low
|
||||||
|
|
||||||
* bug fixes for run_command()
|
* bug fixes for run_command()
|
||||||
|
Loading…
Reference in New Issue
Block a user