diff --git a/board/common/rootfs/usr/bin/doas b/board/common/rootfs/usr/bin/doas index ca55870a..efd49044 100755 --- a/board/common/rootfs/usr/bin/doas +++ b/board/common/rootfs/usr/bin/doas @@ -2,4 +2,4 @@ # Silly wrapper around sudo to prevent it from printing an error for # unprivileged users: sudo: a password is required -id -nG $LOGNAME | grep -qw wheel && sudo -n $@ +id -nG "$LOGNAME" | grep -qw wheel && sudo -n "$@"