diff options
Diffstat (limited to 'net-im/openfire/pkg-install')
-rw-r--r-- | net-im/openfire/pkg-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/openfire/pkg-install b/net-im/openfire/pkg-install index afc5d45a2d2f..4140113f4367 100644 --- a/net-im/openfire/pkg-install +++ b/net-im/openfire/pkg-install @@ -9,7 +9,7 @@ POST-INSTALL) UID=340 GID=${UID} - if pw group show "${GROUP}" 2>/dev/null; then + if pw group show "${GROUP}" >/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." else if pw groupadd ${GROUP} -g ${GID}; then @@ -20,7 +20,7 @@ POST-INSTALL) fi fi - if pw user show "${USER}" 2>/dev/null; then + if pw user show "${USER}" >/dev/null; then echo "You already have a user \"${USER}\", so I will use it." else if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ |