diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-11-28 19:32:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-11-28 19:32:31 +0000 |
commit | d4ad8088667addfbdf9c0843cffe2addf7def52c (patch) | |
tree | 134411afaf3a353fd7c667c7fcfdc79df66b08da /usr.sbin/rpki-client | |
parent | 763778707e308151334b591b8d6ffb7bdd854980 (diff) |
intentionally fclose output file, rather than relying on exit() to do it.
benno and stsp stared...
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r-- | usr.sbin/rpki-client/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index d7afd1c3f14..f5adf1b081d 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.29 2019/11/28 19:25:52 benno Exp $ */ +/* $OpenBSD: main.c,v 1.30 2019/11/28 19:32:30 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -1658,6 +1658,8 @@ main(int argc, char *argv[]) break; } + fclose(output); + logx("Route Origin Authorizations: %zu (%zu failed parse, %zu invalid)", stats.roas, stats.roas_fail, stats.roas_invalid); logx("Certificates: %zu (%zu failed parse, %zu invalid)", |