From d8824e23195a3560ca2b09ae48ebca94fd7aed93 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Thu, 13 Sep 2012 11:22:53 +0200 Subject: [PATCH] Tweak error handling should return just as all others. --- bacula/src/dird/ua_cmds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index 0e4fd9d8df..fb64298466 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1249,8 +1249,8 @@ static int estimate_cmd(UAContext *ua, const char *cmd) } continue; } else { - ua->error_msg(_("Level value missing.\n")); - return 1; + ua->error_msg(_("Level value missing.\n")); + return 1; } } if (strcasecmp(ua->argk[i], NT_("accurate")) == 0) { @@ -1262,6 +1262,7 @@ static int estimate_cmd(UAContext *ua, const char *cmd) continue; } else { ua->error_msg(_("Accurate value missing.\n")); + return 1; } } } -- 2.39.5