[Pkg-ceph-commits] [ceph] 32/43: d/ceph-common.postinst: Silence output of usermod call (LP: #1569249).

Gaudenz Steinlin gaudenz at moszumanska.debian.org
Mon Aug 15 21:41:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

gaudenz pushed a commit to branch jewel-gaudenz
in repository ceph.

commit 548547a69e0a2118264740de50617d2688a329e3
Author: James Page <james.page at ubuntu.com>
Date:   Tue Apr 12 11:03:16 2016 +0100

    d/ceph-common.postinst: Silence output of usermod call (LP: #1569249).
---
 debian/ceph-common.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/ceph-common.postinst b/debian/ceph-common.postinst
index 356b45d..020b89b 100644
--- a/debian/ceph-common.postinst
+++ b/debian/ceph-common.postinst
@@ -56,7 +56,7 @@ case "$1" in
        usermod -c "$SERVER_NAME" \
                -d $SERVER_HOME   \
                -g $SERVER_GROUP  \
-               $SERVER_USER
+               $SERVER_USER 2>/dev/null
 
        # 5. adjust file and directory permissions
        if ! dpkg-statoverride --list $SERVER_HOME >/dev/null

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list