From: Eric Bollengier Date: Wed, 17 Aug 2011 07:48:26 +0000 (+0200) Subject: Fix error message with bad dot commands X-Git-Tag: Release-7.0.0~587 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a67e509d204fcdf014f0d19224102afa63036a82;p=bacula%2Fbacula Fix error message with bad dot commands --- diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index 086409e2f7..887387e458 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -168,8 +168,7 @@ bool do_a_dot_command(UAContext *ua) } } if (!found) { - pm_strcat(user->msg, _(": is an invalid command.\n")); - ua->error_msg("%s", user->msg); + ua->error_msg("%s%s", ua->argk[0], _(": is an invalid command.\n")); ok = false; } return ok;