net/acme: issue_cert should always call post_checks on exit
authorAlexey I. Froloff <raorn@raorn.name>
Thu, 7 Feb 2019 12:16:10 +0000 (15:16 +0300)
committerAlexey I. Froloff <raorn@raorn.name>
Thu, 7 Feb 2019 12:22:39 +0000 (15:22 +0300)
commit8564f61d5080403abed1f95ba11303166023b067
tree6ea5ed9fc7d8c7d545f6ae1fa6e325c7d6f067d0
parente4ab7b4fec306b2a552b993cd37eb1c2018d2002
net/acme: issue_cert should always call post_checks on exit

issue_cert fuction may return without calling post_checks, which leaves
port 80 open and uhttpd configuration is not restored is listen_http was
set.

Always call post_checks when returning from issue_cert.

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
net/acme/files/run.sh