5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-09 05:17:35 +03:00

fix run_command: restore umask correctly

This commit is contained in:
Dietmar Maurer 2012-09-26 13:18:19 +02:00
parent 39ed346252
commit eb9e24df41
3 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
RELEASE=2.2
VERSION=1.0
PKGREL=32
PKGREL=33
PACKAGE=libpve-common-perl

View File

@ -230,7 +230,7 @@ sub run_command {
if ($p eq 'timeout') {
$timeout = $param{$p};
} elsif ($p eq 'umask') {
umask($param{$p});
$old_umask = umask($param{$p});
} elsif ($p eq 'errmsg') {
$errmsg = $param{$p};
} elsif ($p eq 'input') {

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
libpve-common-perl (1.0-33) unstable; urgency=low
* fix run_command: restore umask correctly
-- Proxmox Support Team <support@proxmox.com> Wed, 26 Sep 2012 13:16:22 +0200
libpve-common-perl (1.0-32) unstable; urgency=low
* fix typo in error message