fix debug script; enforce read container name from tty

This commit is contained in:
Ziyang Zhou
2023-12-27 19:08:43 +08:00
parent c97a695f67
commit 078252c073

View File

@@ -20,7 +20,7 @@ container=$1
if [[ -z "$container" ]]; then if [[ -z "$container" ]]; then
echo -n "Container name (leave empty if stopped):" echo -n "Container name (leave empty if stopped):"
read container read container < /dev/tty
fi fi
echo "Collecting, please wait..." echo "Collecting, please wait..."