Skip to content

Commit

Permalink
Merge pull request #360 from pwieczorkiewicz/success_note
Browse files Browse the repository at this point in the history
fsm: Do not display success note if worker not started
  • Loading branch information
mtomaschewski committed Jul 30, 2014
2 parents 7e5223c + a610330 commit d3a9149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ ni_ifworker_fail(ni_ifworker_t *w, const char *fmt, ...)
void
ni_ifworker_success(ni_ifworker_t *w)
{
if (!w->done && !w->progress.callback)
if (!w->done && w->kickstarted && !w->progress.callback)
ni_note("%s: %s\n", w->name, ni_ifworker_state_name(w->fsm.state));

__ni_ifworker_done(w);
Expand Down

0 comments on commit d3a9149

Please sign in to comment.