From 02f7170298972e67c020c5537333f366efff6d20 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 7 Oct 2013 17:25:30 +0200 Subject: [PATCH] Fix group detection on el5. --- m4/ax_icinga_user_group.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ax_icinga_user_group.m4 b/m4/ax_icinga_user_group.m4 index 71998689e..531aedfee 100644 --- a/m4/ax_icinga_user_group.m4 +++ b/m4/ax_icinga_user_group.m4 @@ -30,7 +30,7 @@ AC_DEFUN([ACICINGA_CHECK_GROUP],[ x=$1 y=$2 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_ERROR([not found]) ]) ])