Commit 0895c837 authored by Julian Brost's avatar Julian Brost 🦄
Browse files

Make shellcheck happy

parent e21f83fb
......@@ -19,6 +19,9 @@ if [ "$use_sudo" = "y" ]; then
cd /
# Archlinux uses Xorg.wrap which somewhat breaks but using the actual Xorg
# binary works just fine...
# Shellcheck complains that "Expressions don't expand in single quotes" but
# that's exactly what we want here, so silence it.
# shellcheck disable=SC2016
exec env -i sudo --login -u "$target_user" -- \
/bin/sh -c 'PATH="/usr/lib/xorg-server:$PATH"'" $*"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment