blob: 21c0d0b69c0e8c9d6b541da755c55c069be7d3d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/init/adduser.sh.orig 2018-06-26 12:15:38 UTC
+++ src/init/adduser.sh
@@ -69,7 +69,7 @@ else
fi
if [ -x /usr/bin/getent ]; then
- if [ `getent group ossec | wc -l` -lt 1 ]; then
+ if [ `getent group "${GROUP}" | wc -l` -lt 1 ]; then
${GROUPADD} "${GROUP}"
fi
elif ! grep "^${GROUP}" /etc/group > /dev/null 2>&1; then
|