From 744f25a5f5db042e32c7aed9804725c51db5a051 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 c86f1ab082..603990e22b 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1206,16 +1206,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; @@ -1227,6 +1217,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.2