diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-07-20 21:20:03 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-07-20 21:20:03 +0200 |
commit | 6ff7ab850b82e7b84b0813919f03eb0f0677ac78 (patch) | |
tree | f26685d46edeedd5472891f87e3e4e04775d1ae1 /configure.in | |
parent | 9af7715c3ddaa91a30c390cff5576cb29c2f241a (diff) | |
download | strongswan-6ff7ab850b82e7b84b0813919f03eb0f0677ac78.tar.bz2 strongswan-6ff7ab850b82e7b84b0813919f03eb0f0677ac78.tar.xz |
Fixed GID lookup in cases where the configured group is a prefix of another group.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index e1fa786c2..4de466cf4 100644 --- a/configure.in +++ b/configure.in @@ -792,7 +792,7 @@ else AC_MSG_ERROR([not found]) fi AC_MSG_CHECKING([for gid of group "$ipsecgroup"]) -ipsecgid=`$EGREP "^$ipsecgroup" /etc/group | $AWK -F: '{ print $3 }'` +ipsecgid=`$EGREP "^$ipsecgroup:" /etc/group | $AWK -F: '{ print $3 }'` if test -n "$ipsecgid"; then AC_MSG_RESULT([$ipsecgid]) AC_SUBST(ipsecgid) |