From 26dac6550cfb0b32f4dc61bfbf8e7e9cbc5bab38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 1 May 2024 03:18:34 +0300 Subject: [PATCH] Source Update --- src/functions/login.sh | 2 +- wx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/login.sh b/src/functions/login.sh index 973a1e3..e93e9c9 100644 --- a/src/functions/login.sh +++ b/src/functions/login.sh @@ -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 diff --git a/wx b/wx index c47ceaa..52e2ddd 100755 --- a/wx +++ b/wx @@ -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