From 8a9219309e3e830c5cde06b0c8c72326f212e88f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 4 Jun 2012 18:12:37 +0200 Subject: [PATCH] Send level before the fileset in estimate_cmd() like in backup() --- bacula/src/dird/ua_cmds.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index dce289dfca..9c37032325 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1316,16 +1316,6 @@ static int estimate_cmd(UAContext *ua, const char *cmd) return 1; } - if (!send_include_list(jcr)) { - ua->error_msg(_("Error sending include list.\n")); - goto bail_out; - } - - if (!send_exclude_list(jcr)) { - ua->error_msg(_("Error sending exclude list.\n")); - goto bail_out; - } - /* The level string change if accurate mode is enabled */ if (accurate >= 0) { jcr->accurate = accurate; @@ -1337,6 +1327,16 @@ static int estimate_cmd(UAContext *ua, const char *cmd) goto bail_out; } + if (!send_include_list(jcr)) { + ua->error_msg(_("Error sending include list.\n")); + goto bail_out; + } + + if (!send_exclude_list(jcr)) { + ua->error_msg(_("Error sending exclude list.\n")); + goto bail_out; + } + /* * If the job is in accurate mode, we send the list of * all files to FD. -- 2.39.5