]>
Commit | Line | Data |
---|---|---|
f815c0e8 | 1 | This patch should ensure that queued messages to the console are |
2 | displayed as soon as possible. It should fix bug 1007, but has been | |
3 | reported not to work. | |
4 | ||
5 | Apply it to version 2.2.6 (or any prior 2.2.x) with: | |
6 | ||
7 | cd <bacula-source> | |
8 | ./configure <your-options> | |
9 | patch -p0 <2.2.6-queued-msg.patch | |
10 | make | |
11 | ... | |
12 | make install | |
13 | ||
14 | Index: src/dird/ua_server.c | |
15 | =================================================================== | |
16 | --- src/dird/ua_server.c (revision 5979) | |
17 | +++ src/dird/ua_server.c (working copy) | |
18 | @@ -146,6 +146,7 @@ | |
19 | } else { | |
20 | do_a_command(ua, ua->cmd); | |
21 | } | |
22 | + dequeue_messages(ua->jcr); | |
23 | if (!ua->quit) { | |
24 | if (console_msg_pending && acl_access_ok(ua, Command_ACL, "messages", 8)) { | |
25 | if (ua->auto_display_messages) { |