From: Eric Bollengier Date: Tue, 20 Apr 2021 14:40:28 +0000 (+0200) Subject: Fix #7530 About allpools keyword ignored in cloud truncate command X-Git-Tag: Release-11.3.2~582 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7476c5a909cb22ed9a1f3cec234e671517b69068;p=thirdparty%2Fbacula.git Fix #7530 About allpools keyword ignored in cloud truncate command --- diff --git a/bacula/src/dird/ua_select.c b/bacula/src/dird/ua_select.c index d03a7711e..2e19bc6b5 100644 --- a/bacula/src/dird/ua_select.c +++ b/bacula/src/dird/ua_select.c @@ -1626,7 +1626,7 @@ int scan_storage_cmd(UAContext *ua, const char *cmd, */ mr->Enabled = 1; - if (allfrompool && !has_vol) { /* We need a list of volumes */ + if ((allpools || allfrompool) && !has_vol) { /* We need a list of volumes */ /* We don't take all pools and we don't have a volume in argument, * so we need to choose a pool