From dcdf5e52936b649bf40a4add2c64fed72887b8d9 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 17 Jul 2026 22:45:07 +0200 Subject: [PATCH] fix: Improve interactive terminal detection (#1295) --- src/utils.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils.sh b/src/utils.sh index d21cf51..e163aff 100644 --- a/src/utils.sh +++ b/src/utils.sh @@ -31,9 +31,7 @@ isAmdCpu() { interactive() { - [ -t 1 ] && - [ -c /dev/tty ] && - : 2>/dev/null /dev/tty + [ -t 0 ] && : 2>/dev/null /dev/tty }