Skip to content
Snippets Groups Projects
Commit a4936e52 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Fail logsend on non-200 HTTP code

parent 692e1397
No related branches found
No related tags found
No related merge requests found
......@@ -32,5 +32,5 @@ cp /tmp/logs.last.sha1 "$TMPFILE" || true
(
atsha204cmd file-challenge-response <"$BUFFER"
cat "$BUFFER"
) | curl --compress --cacert "$CERT" -T - "$BASEURL$RID" -X POST
) | curl --compress --cacert "$CERT" -T - "$BASEURL$RID" -X POST -f
mv "$TMPFILE" /tmp/logs.last.sha1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment