refactor: Clear watchdog command setting to prevent persistence on daemon restart

This commit is contained in:
Nick Bolton
2025-02-10 19:36:04 +00:00
parent e07a2efbcc
commit fa1ab27ee9

View File

@ -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