From 4f786442cecdbfd1782bbc190f056eef897894c1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 17 Aug 2011 09:48:26 +0200 Subject: [PATCH] Fix error message with bad dot commands --- bacula/src/dird/ua_dotcmds.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5