mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-15 22:51:31 +00:00
chore: Prevent user setup from running for sddm under any circumstance.
This commit is contained in:
parent
420f934b72
commit
f94ce7bd3e
@ -3,6 +3,9 @@
|
||||
if [ "${EUID:-$(id -u)}" -eq 0 ]; then
|
||||
echo "Bazzite user setup ran as root user. Exiting."
|
||||
exit 0
|
||||
elif [ "$(whoami)" = "sddm" ]; then
|
||||
echo "Bazzite user setup ran as sddm user. Exiting."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
|
Loading…
Reference in New Issue
Block a user