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:
parent
85f8e3a3bc
commit
1d6719269b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user