diff --git a/.github/workflows/linux-package.yml b/.github/workflows/linux-package.yml index 1073793b86a..3efc3db9c2d 100644 --- a/.github/workflows/linux-package.yml +++ b/.github/workflows/linux-package.yml @@ -382,8 +382,8 @@ jobs: fi fi if [ -n "'$SUDO_USER'" ]; then - if ! getent group ${BOINCGROUP} | grep -q '$SUDO_USER'; then - usermod -a -G ${BOINCGROUP} '$SUDO_USER' + if ! getent group ${BOINCGROUP} | grep -q "'$SUDO_USER'"; then + usermod -a -G ${BOINCGROUP} "'$SUDO_USER'" fi fi