From 078252c073a51c4ef01133dac5565915c6c2e01a Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Wed, 27 Dec 2023 19:08:43 +0800 Subject: [PATCH] fix debug script; enforce read container name from tty --- debug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.sh b/debug.sh index c9421cf..f0b4f4e 100755 --- a/debug.sh +++ b/debug.sh @@ -20,7 +20,7 @@ container=$1 if [[ -z "$container" ]]; then echo -n "Container name (leave empty if stopped):" - read container + read container < /dev/tty fi echo "Collecting, please wait..."