mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Fix group detection on el5.
This commit is contained in:
parent
bed3cecd3a
commit
02f7170298
@ -30,7 +30,7 @@ AC_DEFUN([ACICINGA_CHECK_GROUP],[
|
|||||||
x=$1
|
x=$1
|
||||||
y=$2
|
y=$2
|
||||||
AC_MSG_CHECKING([if $y group $x exists])
|
AC_MSG_CHECKING([if $y group $x exists])
|
||||||
AS_IF([ $GREP -q "^$x:" /etc/group ],
|
AS_IF([ id -g $x ],
|
||||||
[ AC_MSG_RESULT([found]) ],
|
[ AC_MSG_RESULT([found]) ],
|
||||||
[ AC_MSG_ERROR([not found]) ])
|
[ AC_MSG_ERROR([not found]) ])
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user