fix debug script; enforce read container name from tty
This commit is contained in:
2
debug.sh
2
debug.sh
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user