sender-mac.sh: another minor fix.

This commit is contained in:
Markus Hitter 2011-09-30 15:19:12 +02:00
parent 8a3c8d936d
commit fa0381341b
1 changed files with 2 additions and 2 deletions

View File

@ -102,12 +102,12 @@ else
OK=""
while true; do
read OK MESSAGE
strip_text "$OK" && OK="$STRIP_TEXT"
strip_text "$MESSAGE" && MESSAGE="$STRIP_TEXT"
if [ $? -ne 0 ]; then
# probably a disconnection from screen
exit
fi
strip_text "$OK" && OK="$STRIP_TEXT"
strip_text "$MESSAGE" && MESSAGE="$STRIP_TEXT"
echo "<$OK>" >&2
if [ "$OK" = "ok" ]; then
break