refactor: Clear watchdog command setting to prevent persistence on daemon restart
This commit is contained in:
@ -174,6 +174,9 @@ void DaemonApp::clearWatchdogCommand()
|
||||
{
|
||||
LOG_DEBUG("clearing watchdog command");
|
||||
|
||||
// Clear the setting to prevent it from being next time the daemon starts.
|
||||
setCommand("");
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
m_watchdog->setCommand("", false);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user