1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

skip_first: fix initialization

This commit is contained in:
Steffen Vogel 2020-08-17 17:10:35 +02:00
parent d9134e662b
commit de9b466ace

View file

@ -89,6 +89,12 @@ public:
throw ConfigError(cfg, err, "node-config-hook-skip_first");
}
virtual void start()
{
skip_state = SkipState::STARTED;
state = State::STARTED;
}
virtual void restart()
{
skip_state = SkipState::STARTED;