diff --git a/roles/lmn_kde/files/pwroff b/roles/lmn_kde/files/pwroff index 1245335..a9e6e6b 100755 --- a/roles/lmn_kde/files/pwroff +++ b/roles/lmn_kde/files/pwroff @@ -21,7 +21,7 @@ talk2dbus() { ######## ## shutdown if nobody is loged in: -if [[ -z "$una" ]] ; then +if [[ -z "$una" ]] || [[ $uid -lt 1000 ]] ; then exec $action fi