mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-20 01:17:46 +00:00
@@ -41,7 +41,7 @@ falco::app::run_result falco::app::actions::pidfile(const falco::app::state& s)
|
|||||||
|
|
||||||
if (!pidfile.good())
|
if (!pidfile.good())
|
||||||
{
|
{
|
||||||
falco_logger::log(falco_logger::level::ERR, "Could not write pid to pidfile " + s.options.pidfilename + ". Exiting.\n");
|
falco_logger::log(falco_logger::level::ERR, "Could not write pid to pidfile : " + s.options.pidfilename + ". Exiting.\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
pidfile << self_pid;
|
pidfile << self_pid;
|
||||||
|
Reference in New Issue
Block a user