]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_server.c
migrate
[bacula/bacula] / bacula / src / dird / ua_server.c
index bc6bf2af6ee879ded6182a3b7eb47fa30e5e1267..0ec2f11d3fce42a60624e349b622c91ca9bb9991 100644 (file)
@@ -11,7 +11,7 @@
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
-   version 2 as ammended with additional clauses defined in the
+   version 2 as amended with additional clauses defined in the
    file LICENSE in the main source directory.
 
    This program is distributed in the hope that it will be useful,
@@ -138,7 +138,7 @@ static void *handle_UA_client_request(void *arg)
                pm_strcpy(ua->cmd, "messages");
                qmessagescmd(ua, ua->cmd);
                ua->user_notified_msg_pending = FALSE;
-            } else if (!ua->user_notified_msg_pending && console_msg_pending) {
+            } else if (!ua->gui && !ua->user_notified_msg_pending && console_msg_pending) {
                bsendmsg(ua, _("You have messages.\n"));
                ua->user_notified_msg_pending = TRUE;
             }