use correct log function

This commit is contained in:
Dietmar Maurer 2011-12-08 06:45:23 +01:00
parent 643adc8235
commit 92ea5df863
3 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
RELEASE=2.0
VERSION=1.0
PKGREL=9
PKGREL=10
PACKAGE=libpve-common-perl

View File

@ -42,7 +42,7 @@ sub cmd {
my $logfunc = sub {
my $line = shift;
logmsg('info', $line);
$self->log('info', $line);
};
$self->log('info', "# " . PVE::Tools::cmd2string($cmd));
@ -134,7 +134,7 @@ sub migrate {
local $ENV{RSYNC_RSH} = join(' ', @ssh_cmd);
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;
};

6
debian/changelog vendored
View File

@ -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
* bug fixes for run_command()