Commit 27909f62 authored by Chris Lamb's avatar Chris Lamb 💬

bin/publish: Mask network errors.

parent f0614391
......@@ -69,7 +69,7 @@ do
sleep 1
printf "."
if ! curl -qs "${URL}" | grep -qs "This is an unpublished draft post."
if ! curl -qs "${URL}" 2>/dev/null | grep -qs "This is an unpublished draft post."
then
break
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment