mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Fix syntax of enable-user and enable-group options help
This commit is contained in:
parent
8e8354caec
commit
1f60bcb2d0
@ -112,7 +112,7 @@ esac],[full_xml=false])
|
|||||||
|
|
||||||
ENABLEGROUP=""
|
ENABLEGROUP=""
|
||||||
AC_ARG_ENABLE(group,
|
AC_ARG_ENABLE(group,
|
||||||
[AS_HELP_STRING([--enable-group[[[[=GROUP]]]]], [specify the group of the account defined in --enable-user (default: no)])],
|
[AS_HELP_STRING([--enable-group[[=GROUP]]], [specify the group of the account defined in --enable-user (default: no)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) ENABLEGROUP=`groups |head -n 1` ;;
|
yes) ENABLEGROUP=`groups |head -n 1` ;;
|
||||||
no) ENABLEGROUP="" ;;
|
no) ENABLEGROUP="" ;;
|
||||||
@ -246,7 +246,7 @@ esac],[if test "x$tools" = "x"; then tools=false; fi])
|
|||||||
|
|
||||||
ENABLEUSER=""
|
ENABLEUSER=""
|
||||||
AC_ARG_ENABLE(user,
|
AC_ARG_ENABLE(user,
|
||||||
[AS_HELP_STRING([--enable-user[[[[=USER]]]]], [allow this system user to start ejabberd (default: no)])],
|
[AS_HELP_STRING([--enable-user[[=USER]]], [allow this system user to start ejabberd (default: no)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) ENABLEUSER=`whoami` ;;
|
yes) ENABLEUSER=`whoami` ;;
|
||||||
no) ENABLEUSER="" ;;
|
no) ENABLEUSER="" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user