From bc7b4962f63bbbd55edfcbed8cc9abf5916fe1de Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 15 Nov 2024 19:29:10 +0100 Subject: [PATCH] -n --- shell/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/main.sh b/shell/main.sh index a286723..7925a6f 100644 --- a/shell/main.sh +++ b/shell/main.sh @@ -1,4 +1,4 @@ -[ "${ENV}" ] || export ENV="/etc/shell/main.sh" +[ -n "${ENV}" ] || export ENV="/etc/shell/main.sh" main_env_root() { dirname "${ENV}"