Fix issue where tput cvvis
was failing and causing script to fail
This commit is contained in:
parent
8458bf43fe
commit
adb1578476
@ -14,6 +14,7 @@ if [ "$1" = '-1' ]; then
|
|||||||
fi
|
fi
|
||||||
stty icanon echo >/dev/tty 2>/dev/tty
|
stty icanon echo >/dev/tty 2>/dev/tty
|
||||||
tput cvvis >/dev/tty
|
tput cvvis >/dev/tty
|
||||||
|
true
|
||||||
else
|
else
|
||||||
# Get a line of input
|
# Get a line of input
|
||||||
if command -v ask >/dev/null; then
|
if command -v ask >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user