aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-11-25 11:42:43 -0500
committerspv <spv@spv.sh>2025-11-25 11:42:43 -0500
commit107cb3fcf121d42d5616e9b285c105dcd1b1f15b (patch)
tree5dcf476cf7b07aa578478003756ba7d211199bde /src/main.c
parentaceb8340357347d68b5b96b778e3a928bcdd3c5e (diff)
fix failure to count in `sb` due to empty report file...
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index dab70af..6957ce5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -72,6 +72,8 @@ int main(int argc, char* argv[]) {
report_fp = fopen(report_path, "w");
+ gen_report(report_fp);
+
signal(SIGHUP, handler);
signal(SIGQUIT, handler);
signal(SIGTERM, handler);