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:
parent
72ca652054
commit
adbc988db3
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
RELEASE=2.0
|
||||
|
||||
VERSION=1.0
|
||||
PKGREL=16
|
||||
PKGREL=17
|
||||
|
||||
PACKAGE=libpve-common-perl
|
||||
|
||||
|
@ -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
6
debian/changelog
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user