Skip to content

Commit

Permalink
dird: remove doubled binary status information
Browse files Browse the repository at this point in the history
When login with bconsole, the director starts with displaying information about its binary status
(self-compiled, ...). Until now, it shows BAREOS_BINARY_INFO and BAREOS_SERVICES_MESSAGE.
However, BAREOS_BINARY_INFO is more or less the short form of BAREOS_SERVICES_MESSAGE,
so we reduced it to display only BAREOS_SERVICES_MESSAGE.
  • Loading branch information
joergsteffens committed Oct 30, 2022
1 parent faa2853 commit e0c5ce3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/dird/authenticate_console.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Copyright (C) 2001-2008 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
Copyright (C) 2013-2019 Bareos GmbH & Co. KG
Copyright (C) 2013-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -216,8 +216,6 @@ bool ConsoleAuthenticatorFrom_18_2::SendResponseMessage(uint32_t response_id,
bool ConsoleAuthenticatorFrom_18_2::SendInfoMessage()
{
std::string message;
message += kBareosVersionStrings.BinaryInfo;
message += " binary\n";
message += kBareosVersionStrings.ServicesMessage;
message += "\n";
message += "You are ";
Expand Down

0 comments on commit e0c5ce3

Please sign in to comment.