From 0dea7003e289c9049a7ee6df9190575b504ff78e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 31 Dec 2015 11:39:15 +0100 Subject: [PATCH] Fix slight error in autoprune -- should fix bug #2151 --- bacula/src/dird/autoprune.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bacula/src/dird/autoprune.c b/bacula/src/dird/autoprune.c index 018a5bfb22..46416f5229 100644 --- a/bacula/src/dird/autoprune.c +++ b/bacula/src/dird/autoprune.c @@ -200,11 +200,6 @@ void prune_volumes(JCR *jcr, bool InChanger, MEDIA_DBR *mr, continue; } - if (has_volume_expired(jcr, &lmr)) { - Dmsg1(100, "Vol=%s has expired\n", lmr.VolumeName); - continue; /* Volume not usable */ - } - /* * If purged and not moved to another Pool, * then we stop pruning and take this volume. -- 2.39.5