mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-06-29 10:35:08 +02: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",
|
"/dev/null",
|
||||||
logfile,
|
logfile,
|
||||||
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(SIGINT, signal_handler);
|
||||||
signal(SIGKILL, signal_handler);
|
signal(SIGKILL, signal_handler);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user