diff options
Diffstat (limited to 'redfish-core/lib/systems.hpp')
-rw-r--r-- | redfish-core/lib/systems.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index f97dba29b6..8d76722e45 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -1760,7 +1760,7 @@ inline void if (!state) { messages::internalError(aResp->res); - continue; + return; } hostWatchdogTimer["FunctionEnabled"] = *state; @@ -1772,14 +1772,14 @@ inline void if (!s) { messages::internalError(aResp->res); - continue; + return; } std::string action = dbusToRfWatchdogAction(*s); if (action.empty()) { messages::internalError(aResp->res); - continue; + return; } hostWatchdogTimer["TimeoutAction"] = action; } |