From: Eric Bollengier Date: Mon, 4 Jun 2012 16:12:37 +0000 (+0200) Subject: Send level before the fileset in estimate_cmd() like in backup() X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9d57201239a0ec47d42a20b18862f27b69d56121;p=bacula%2Fbacula Send level before the fileset in estimate_cmd() like in backup() --- 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.