mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-14 21:11:40 +00: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
|
RELEASE=2.0
|
||||||
|
|
||||||
VERSION=1.0
|
VERSION=1.0
|
||||||
PKGREL=16
|
PKGREL=17
|
||||||
|
|
||||||
PACKAGE=libpve-common-perl
|
PACKAGE=libpve-common-perl
|
||||||
|
|
||||||
|
@ -417,6 +417,7 @@ sub run_command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($errmsg) {
|
if ($errmsg) {
|
||||||
|
$err =~ s/^usermod:\s*// if $cmdstr =~ m|^(\S+/)?usermod\s|;
|
||||||
die "$errmsg: $err";
|
die "$errmsg: $err";
|
||||||
} else {
|
} else {
|
||||||
die "command '$cmdstr' failed: $err";
|
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
|
libpve-common-perl (1.0-16) unstable; urgency=low
|
||||||
|
|
||||||
* try to keep comments in /etc/network/interfaces
|
* try to keep comments in /etc/network/interfaces
|
||||||
|
Loading…
Reference in New Issue
Block a user