25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Merge pull request #301 from Iperity/master

Fix init script
This commit is contained in:
Evgeny Khramtsov 2014-09-18 01:17:04 +04:00
commit 57dec40007

View File

@ -24,7 +24,7 @@ test -x "$CTL" || {
echo "ERROR: ejabberd not found: $DIR" echo "ERROR: ejabberd not found: $DIR"
exit 1 exit 1
} }
grep ^"$USER": /etc/passwd >/dev/null || { getent passwd "$USER" >/dev/null || {
echo "ERROR: System user not found: $USER" echo "ERROR: System user not found: $USER"
exit 2 exit 2
} }