1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-06-26 17:25:09 +02: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);