Skip to content

Commit

Permalink
current status
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 30, 2019
1 parent 32eb05b commit bf709f6
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion core/src/dird/admin.cc
Expand Up @@ -126,7 +126,7 @@ void AdminCleanup(JobControlRecord *jcr, int TermCode)
schedt,
sdt,
edt,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);

Dmsg0(debuglevel, "Leave AdminCleanup()\n");
Expand Down
2 changes: 1 addition & 1 deletion core/src/dird/archive.cc
Expand Up @@ -125,7 +125,7 @@ void ArchiveCleanup(JobControlRecord *jcr, int TermCode)
schedt,
sdt,
edt,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);

Dmsg0(debuglevel, "Leave ArchiveCleanup()\n");
Expand Down
2 changes: 1 addition & 1 deletion core/src/dird/backup.cc
Expand Up @@ -1244,7 +1244,7 @@ void GenerateBackupSummary(JobControlRecord *jcr, ClientDbRecord *cr, int msg_ty
edit_uint64_with_suffix(mr.VolBytes, ec8),
daemon_status.c_str(),
secure_erase_status.c_str(),
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);
}
} /* namespace directordaemon */
2 changes: 1 addition & 1 deletion core/src/dird/consolidate.cc
Expand Up @@ -358,7 +358,7 @@ void ConsolidateCleanup(JobControlRecord *jcr, int TermCode)
schedt,
sdt,
edt,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);

Dmsg0(debuglevel, "Leave ConsolidateCleanup()\n");
Expand Down
4 changes: 2 additions & 2 deletions core/src/dird/migrate.cc
Expand Up @@ -1759,7 +1759,7 @@ static inline void GenerateMigrateSummary(JobControlRecord *jcr, MediaDbRecord *
edit_uint64_with_suffix(mr->VolBytes, ec5),
jcr->SDErrors,
sd_term_msg,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
term_code);
} else {
/*
Expand All @@ -1785,7 +1785,7 @@ static inline void GenerateMigrateSummary(JobControlRecord *jcr, MediaDbRecord *
edt,
edit_utime(RunTime, elapsed, sizeof(elapsed)),
jcr->JobPriority,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
term_code);
}
}
Expand Down
4 changes: 2 additions & 2 deletions core/src/dird/restore.cc
Expand Up @@ -598,7 +598,7 @@ void GenerateRestoreSummary(JobControlRecord *jcr, int msg_type, const char *Ter
edit_uint64_with_commas(jcr->jr.JobBytes, ec3),
(float)kbps,
sd_term_msg,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);
break;
default:
Expand Down Expand Up @@ -649,7 +649,7 @@ void GenerateRestoreSummary(JobControlRecord *jcr, int msg_type, const char *Ter
fd_term_msg,
sd_term_msg,
secure_erase_status.c_str(),
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);
break;
}
Expand Down
4 changes: 2 additions & 2 deletions core/src/dird/verify.cc
Expand Up @@ -587,7 +587,7 @@ void VerifyCleanup(JobControlRecord *jcr, int TermCode)
jcr->JobErrors,
fd_term_msg,
sd_term_msg,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);
break;
default:
Expand Down Expand Up @@ -621,7 +621,7 @@ void VerifyCleanup(JobControlRecord *jcr, int TermCode)
edit_uint64_with_commas(jcr->JobFiles, ec1),
jcr->JobErrors,
fd_term_msg,
BAREOS_BINARY_AND_SERVICES_MESSAGE,
BAREOS_SERVICES_MESSAGE,
TermMsg);
break;
}
Expand Down
8 changes: 2 additions & 6 deletions core/src/include/version.h
Expand Up @@ -10,16 +10,12 @@
#endif

#ifndef BAREOS_SERVICES_MESSAGE
#define BAREOS_SERVICES_MESSAGE "Get official binaries and vendor support on bareos.com"
#endif

#ifndef BAREOS_BINARY_AND_SERVICES_MESSAGE
#define BAREOS_BINARY_AND_SERVICES_MESSAGE "self-compiled binaries are UNSUPPORTED by bareos.com. Get official binaries and vendor support on https://bareos.com"
#define BAREOS_SERVICES_MESSAGE "self-compiled binaries are UNSUPPORTED by bareos.com. Get official binaries and vendor support on https://bareos.com"
#endif


#define PROG_COPYRIGHT "\n" \
BAREOS_BINARY_AND_SERVICES_MESSAGE \
BAREOS_SERVICES_MESSAGE \
"\n" \
"Copyright (C) 2013-2019 Bareos GmbH & Co. KG\n" \
"Copyright (C) %d-2012 Free Software Foundation Europe e.V.\n" \
Expand Down

0 comments on commit bf709f6

Please sign in to comment.