Commit 6cc33823 authored by Vincent Pelletier's avatar Vincent Pelletier

contrib/shell/kedifa_update_cert: Exit in case of incomplete config

parent 22a61013
......@@ -50,6 +50,7 @@ URL=
if test -z "$CA" || test -z "$CRL" || test -z "$URL"; then
printf '"%q": Malformed file\n' "$config"
exit 1
fi
keycert="$(mktemp --tmpdir kedifa_update_XXXXXXXX)"
trap 'rm "${keycert}"' EXIT
......
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