[bugfix] test condition reporting error

This commit is contained in:
Klesh Wong 2020-11-02 21:48:10 +08:00
parent 16c8c775d4
commit 4e8eb61c29

View File

@ -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