mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
fix C++ compilation issues
Signed-off-by: Robert Andersson <robert.m.andersson@se.atlascopco.com>
This commit is contained in:
1 parent
053304012f
commit
d371b85c47
6 files changed
+7
-7
No files matched your search
@@ -352,8 +352,8 @@ static void api_cb(uev_t *w, void *arg, int events)
|
||||
if (wdog) {
|
||||
logit(LOG_NOTICE, "Stopping and removing %s (PID:%d)", wdog->cmd, wdog->pid);
|
||||
stop(wdog);
|
||||
if (wdog->protected) {
|
||||
wdog->protected = 0;
|
||||
if (wdog->protect) {
|
||||
wdog->protect = 0;
|
||||
wdog->runlevels = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user