summaryrefslogtreecommitdiffstats
path: root/lexd-spool.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lexd-spool.sh')
-rw-r--r--lexd-spool.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexd-spool.sh b/lexd-spool.sh
index 9b9b723..ec6fc7b 100644
--- a/lexd-spool.sh
+++ b/lexd-spool.sh
@@ -91,8 +91,8 @@ while true; do
exit 1
fi
- # Strip leading '<' character if present
- response="${response#<}"
+ # Strip leading stray characters if present
+ response="${response#[<\"]}"
# Extract first word (lowercased)
target_word=$(print -r -- "${response}" \