From: Kern Sibbald Date: Thu, 31 Dec 2015 10:39:15 +0000 (+0100) Subject: Fix slight error in autoprune -- should fix bug #2151 X-Git-Tag: Release-7.4.0~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0dea7003e289c9049a7ee6df9190575b504ff78e;p=bacula%2Fbacula Fix slight error in autoprune -- should fix bug #2151 --- 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.