Skip to content
  • Michal Schmidt's avatar
    core: fix running jobs counters after reload/reexec · 9e9e2b72
    Michal Schmidt authored
    All active units will call unit_notify() during coldplug, so we just
    make sure we're counting from zero again and get the correct result for
    n_on_console.
    
    For n_running_jobs we likewise reset it to zero and then count
    the running jobs as we encounter them in deserialization.
    9e9e2b72