sender-mac.sh: another minor fix.
This commit is contained in:
parent
8a3c8d936d
commit
fa0381341b
|
|
@ -102,12 +102,12 @@ else
|
||||||
OK=""
|
OK=""
|
||||||
while true; do
|
while true; do
|
||||||
read OK MESSAGE
|
read OK MESSAGE
|
||||||
strip_text "$OK" && OK="$STRIP_TEXT"
|
|
||||||
strip_text "$MESSAGE" && MESSAGE="$STRIP_TEXT"
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
# probably a disconnection from screen
|
# probably a disconnection from screen
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
strip_text "$OK" && OK="$STRIP_TEXT"
|
||||||
|
strip_text "$MESSAGE" && MESSAGE="$STRIP_TEXT"
|
||||||
echo "<$OK>" >&2
|
echo "<$OK>" >&2
|
||||||
if [ "$OK" = "ok" ]; then
|
if [ "$OK" = "ok" ]; then
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue