Fix sddm listed as user.

This commit is contained in:
Andreas B. Mundt 2023-08-06 19:28:30 +02:00
parent 9f6fa677c4
commit 4b85ad1f14

View file

@ -21,7 +21,7 @@ talk2dbus() {
######## ########
## shutdown if nobody is loged in: ## shutdown if nobody is loged in:
if [[ -z "$una" ]] ; then if [[ -z "$una" ]] || [[ $uid -lt 1000 ]] ; then
exec $action exec $action
fi fi