From 6005b4e858c53bd2e35a784f4999b40972e18b6a Mon Sep 17 00:00:00 2001 From: Martin Simmons Date: Tue, 26 Jan 2010 09:46:19 +0100 Subject: [PATCH] Fix #1466 about Bogus pruning message --- bacula/src/dird/ua_prune.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_prune.c b/bacula/src/dird/ua_prune.c index 9e532f4c6b..498b4da5c6 100644 --- a/bacula/src/dird/ua_prune.c +++ b/bacula/src/dird/ua_prune.c @@ -389,7 +389,7 @@ int prune_jobs(UAContext *ua, CLIENT *client, POOL *pool, int JobType) * Select all files that are older than the JobRetention period * and stuff them into the "DeletionCandidates" table. */ - edit_utime(now-period, ed1, sizeof(ed1)); + edit_utime(period, ed1, sizeof(ed1)); Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs older than %s.\n"), ed1); edit_int64(now - period, ed1); Mmsg(query, insert_delcand, (char)JobType, ed1, -- 2.39.5