Correct unbound variable error in terminal.sh under X

This commit is contained in:
Midgard 2022-11-24 17:03:16 +01:00
parent 5ab985c9d0
commit 2748662898
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -5,7 +5,7 @@ set -uo pipefail
set +e set +e
#CMD=i3-sensible-terminal #CMD=i3-sensible-terminal
if [ -n "$WAYLAND_DISPLAY" ]; then if [ -n "${WAYLAND_DISPLAY:-}" ]; then
CMD=foot CMD=foot
else else
CMD=xfce4-terminal CMD=xfce4-terminal