From d8bbbecc88095c12f8fef23dddb0d711495ffd61 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 18 Aug 2021 13:25:21 +1000 Subject: Only backup members inventories that have been on since last backup. Was commented out for testing. --- src/sledjchisl/sledjchisl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index f7ccb93..3f3e171 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -7451,7 +7451,7 @@ void forEachMember(char *verb, simFunction func, simFunction not) char *last = (char *) qfile_load(file, NULL); char *cmd = xmprintf("date +%%s > %s", file); -// if (NULL == last) + if (NULL == last) last = xstrdup("0"); if (!WIFEXITED(system(cmd))) E("date command failed!"); -- cgit v1.1