Fix Typos
This commit is contained in:
parent
b474564647
commit
c513426e05
4
debian/client/usr/bin/minecraft-pi
vendored
4
debian/client/usr/bin/minecraft-pi
vendored
@ -17,7 +17,7 @@ VIRGL_PID="$!"
|
|||||||
# Ensure Groups Are Correct
|
# Ensure Groups Are Correct
|
||||||
if [ -z "${MCPI_SUBSHELL}" ]; then
|
if [ -z "${MCPI_SUBSHELL}" ]; then
|
||||||
if ! id -Gn "$(whoami)" | grep '\bdocker\b' > /dev/null; then
|
if ! id -Gn "$(whoami)" | grep '\bdocker\b' > /dev/null; then
|
||||||
pkexec usermod -aG "$(whoami)" docker
|
pkexec usermod -aG docker "$(whoami)"
|
||||||
fi
|
fi
|
||||||
exec sg docker "env MCPI_SUBSHELL=1 \"$(realpath -e "$0")\""
|
exec sg docker "env MCPI_SUBSHELL=1 \"$(realpath -e "$0")\""
|
||||||
fi
|
fi
|
||||||
@ -34,4 +34,4 @@ RET="$?"
|
|||||||
# Kill VirGL
|
# Kill VirGL
|
||||||
kill "${VIRGL_PID}"
|
kill "${VIRGL_PID}"
|
||||||
|
|
||||||
ecit "${RET}"
|
exit "${RET}"
|
||||||
|
Loading…
Reference in New Issue
Block a user