mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update chr.sh
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
c5712825ba
commit
c2ec6d439c
1 changed files with 1 additions and 1 deletions
2
chr.sh
2
chr.sh
|
|
@ -64,7 +64,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo "WARNING: All data on /dev/$STORAGE will be lost!"
|
||||
read -p "Do you want to continue? [Y/n]: " confirm
|
||||
read -p "Do you want to continue? [Y/n]: " confirm < /dev/tty
|
||||
confirm=${confirm:-Y}
|
||||
if [[ "$confirm" =~ ^[Nn]$ ]]; then
|
||||
echo "Operation aborted."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue