From fa0381341b9ab1a3a1c47888b671cf1b896495df Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 30 Sep 2011 15:19:12 +0200 Subject: [PATCH] sender-mac.sh: another minor fix. --- sender-mac.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sender-mac.sh b/sender-mac.sh index d15bbed..0abdbf4 100755 --- a/sender-mac.sh +++ b/sender-mac.sh @@ -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