Emacsclient script typo: bogus condition negation

This commit is contained in:
TEC 2021-01-04 00:17:13 +08:00
parent 6f6c37888a
commit 77624f4e38
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ if [ ! "${#args[*]}" = 0 ] && [ "${args[-1]}" = "-" ]; then
args+=(--eval "(let ((b (generate-new-buffer \"*stdin*\"))) (switch-to-buffer b) (insert-file-contents \"$TMP\") (delete-file \"$TMP\")${stdin_mode})")
fi
if [ ! -z "$DISPLAY" ] || $force_tty; then
if [ -z "$DISPLAY" ] || $force_tty; then
# detect terminals with sneaky 24-bit support
if { [ "$COLORTERM" = truecolor ] || [ "$COLORTERM" = 24bit ]; } && [ $(tput colors 2>/dev/null) -lt 257 ]; then
if echo "$TERM" | grep -q "^\w\+-[0-9]"; then