From f9f40d9106f45ecfe8c8e30cbf8624fb7f7a5f71 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 d42bc7f9b1..ba33029447 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1139,8 +1139,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) { @@ -1152,6 +1152,7 @@ static int estimate_cmd(UAContext *ua, const char *cmd) continue; } else { ua->error_msg(_("Accurate value missing.\n")); + return 1; } } } -- 2.39.5