From 4e8eb61c290f74bfe037d6e87f9b37501027b7ef Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 2 Nov 2020 21:48:10 +0800 Subject: [PATCH] [bugfix] test condition reporting error --- suckless/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suckless/install.sh b/suckless/install.sh index 583ea1f..348fe78 100755 --- a/suckless/install.sh +++ b/suckless/install.sh @@ -81,7 +81,7 @@ cat <<'EOT' > ~/.profile export PATH=$HOME/.local/bin # auto startx -[ -z "$DISPLAY" -a -n "$XDG_VTNR" -a "$XDG_VTNR" -eq "1" ] && exec startx +[ -z "$DISPLAY" -a -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ] && exec startx EOT