commit 8d5dec24f34cb537a04a75af1afbf2bda3fd9107 parent 005c6e3f0e3bcbc0ed53304991d0225a905de576 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 4 Aug 2026 15:28:15 +0200 return failure if GC failed Diffstat:
| M | src/stasis/anastasis-dbinit.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/stasis/anastasis-dbinit.c b/src/stasis/anastasis-dbinit.c @@ -114,6 +114,9 @@ run (void *cls, { fprintf (stderr, "Garbage collection failed!\n"); + /* A cron job or timer unit driving `-g' must be able to see that + nothing was reclaimed. */ + global_ret = EXIT_FAILURE; } } ANASTASIS_DB_fini ();