Fix: prevent unmatched quote (#3726)
This commit is contained in:
parent
fa282d574d
commit
18146e2fbc
@ -28,7 +28,7 @@
|
|||||||
if msg="$(task add "$title" "$*" 2>&1)"; then
|
if msg="$(task add "$title" "$*" 2>&1)"; then
|
||||||
# annotate the new task with the url, send the output back to the browser
|
# annotate the new task with the url, send the output back to the browser
|
||||||
task +LATEST annotate "$QUTE_URL"
|
task +LATEST annotate "$QUTE_URL"
|
||||||
echo "message-info '$msg'" | head -n 1 >> "$QUTE_FIFO"
|
echo "message-info '$(echo "$msg" | head -n 1)'" >> "$QUTE_FIFO"
|
||||||
else
|
else
|
||||||
echo "message-error '$msg'" | head -n 1 >> "$QUTE_FIFO"
|
echo "message-error '$(echo "$msg" | head -n 1)'" >> "$QUTE_FIFO"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user