mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
grep for correct name
This commit is contained in:
parent
24d942f9f7
commit
cbbcd2b30f
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ _user_management() {
|
|||
while true; do
|
||||
_DEFAULT="--default-item ${_NEXTITEM}"
|
||||
#shellcheck disable=SC2086
|
||||
if grep wheel "${_DESTDIR}"/etc/group | grep -q "${_USER}"; then
|
||||
if grep wheel "${_DESTDIR}"/etc/group | grep -qw "${_USER}"; then
|
||||
_ADMIN_ATTR=1
|
||||
_USER_TITLE="${_USER} | Administrator | wheel group"
|
||||
_USER_MENU="Change To Normal User"
|
||||
|
|
Loading…
Reference in a new issue