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

This commit is contained in:
Eric Morino 2021-01-18 11:20:42 +01:00
parent 7d4e92a5e3
commit 2aa1c26c34
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ check_duplicate_fs_label() {
fi
}
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"
}
check_evoacme_cron() {