5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-03-13 00:58:40 +03:00

cleanup error message from usermod command

This commit is contained in:
Dietmar Maurer 2012-03-01 12:36:56 +01:00
parent 72ca652054
commit adbc988db3
3 changed files with 8 additions and 1 deletions

View File

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

View File

@ -417,6 +417,7 @@ sub run_command {
}
if ($errmsg) {
$err =~ s/^usermod:\s*// if $cmdstr =~ m|^(\S+/)?usermod\s|;
die "$errmsg: $err";
} else {
die "command '$cmdstr' failed: $err";

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
libpve-common-perl (1.0-17) unstable; urgency=low
* better error message for usermod command
-- Proxmox Support Team <support@proxmox.com> Thu, 01 Mar 2012 12:42:30 +0100
libpve-common-perl (1.0-16) unstable; urgency=low
* try to keep comments in /etc/network/interfaces