Commit 95811b55 authored by Vincent Pelletier's avatar Vincent Pelletier

contrib/shell/kedifa_update_cert: Fix logical inversion

parent 6cc33823
......@@ -56,6 +56,8 @@ keycert="$(mktemp --tmpdir kedifa_update_XXXXXXXX)"
trap 'rm "${keycert}"' EXIT
cat "$key" "$crt" > "$keycert"
if output="$(curl --silent --cacert "$CA" --crlfile "$CRL" --upload-file "$keycert" "$URL")"; then
:
else
status="$?"
printf '"%q": Failed uploading to kedifa\n' "$config"
exit "$status"
......
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