Merge branch 'IS_EVOLIX_USER-do-not-use-getent' of evolix/evocheck into master

This commit is contained in:
Benoît S. 2019-02-14 11:19:32 +01:00 committed by Gitea
commit 9be91392f3

View file

@ -802,7 +802,7 @@ if [ -e /etc/debian_version ]; then
fi
if [ "$IS_EVOLIX_USER" = 1 ]; then
getent passwd evolix >/dev/null && echo 'IS_EVOLIX_USER FAILED!'
grep -q "evolix:" /etc/passwd && echo 'IS_EVOLIX_USER FAILED!'
fi
if [ "$IS_EVOACME_CRON" = 1 ]; then