1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

Resend version string after redirection stdout

This commit is contained in:
Ralf Ramsauer 2015-09-23 16:02:49 +02:00
parent 85f8e3a3bc
commit 1d6719269b

View File

@ -205,6 +205,9 @@ int main(int argc, char** argv)
"/dev/null",
logfile,
logfile);
// Resend version string after redirection stdout
l((std::string)"Hello, this is " + version + " built on " + gitversion,
LogLevel::info);
signal(SIGINT, signal_handler);
signal(SIGKILL, signal_handler);