Source Update

This commit is contained in:
Christer Warén 2024-05-01 03:18:34 +03:00
parent 6b9afb0ed0
commit 26dac6550c
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ wx-login(){
wx-stop
fi
if [[ -z $USER ]]
if [[ -z $USER || $USER == "root" || $USER == "local" ]]
then
if [[ -z $SUDO_USER ]]
then

2
wx
View File

@ -76,7 +76,7 @@ wx-login(){
wx-stop
fi
if [[ -z $USER ]]
if [[ -z $USER || $USER == "root" || $USER == "local" ]]
then
if [[ -z $SUDO_USER ]]
then