Fix for EVOLIX_USER account name begin by evolix, don't match testevolix for example
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Eric Morino 2021-01-18 11:20:42 +01:00
parent 7d4e92a5e3
commit 2aa1c26c34

View file

@ -1044,7 +1044,7 @@ check_duplicate_fs_label() {
fi fi
} }
check_evolix_user() { check_evolix_user() {
grep -q "evolix:" /etc/passwd \ grep -q -E "^evolix:" /etc/passwd \
&& failed "IS_EVOLIX_USER" "evolix user should be deleted, used only for install" && failed "IS_EVOLIX_USER" "evolix user should be deleted, used only for install"
} }
check_evoacme_cron() { check_evoacme_cron() {