mirror of
https://github.com/remote-android/redroid-doc
synced 2026-11-28 15:45:24 +08:00
fix debug script; enforce read container name from tty
This commit is contained in:
1 parent
c97a695f67
commit
078252c073
1 file changed
+1
-1
@@ -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