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:
parent
39ed346252
commit
eb9e24df41
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
RELEASE=2.2
|
RELEASE=2.2
|
||||||
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
PKGREL=32
|
PKGREL=33
|
||||||
|
|
||||||
PACKAGE=libpve-common-perl
|
PACKAGE=libpve-common-perl
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@ sub run_command {
|
|||||||
if ($p eq 'timeout') {
|
if ($p eq 'timeout') {
|
||||||
$timeout = $param{$p};
|
$timeout = $param{$p};
|
||||||
} elsif ($p eq 'umask') {
|
} elsif ($p eq 'umask') {
|
||||||
umask($param{$p});
|
$old_umask = umask($param{$p});
|
||||||
} elsif ($p eq 'errmsg') {
|
} elsif ($p eq 'errmsg') {
|
||||||
$errmsg = $param{$p};
|
$errmsg = $param{$p};
|
||||||
} elsif ($p eq 'input') {
|
} elsif ($p eq 'input') {
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
libpve-common-perl (1.0-32) unstable; urgency=low
|
||||||
|
|
||||||
* fix typo in error message
|
* fix typo in error message
|
||||||
|
Loading…
Reference in New Issue
Block a user