Skip to content

Commit

Permalink
clickos: Set f_stop flag on router init error
Browse files Browse the repository at this point in the history
This was preventing the guest from shutdown in case of a failed router
initialization.
  • Loading branch information
fmanco committed Mar 24, 2014
1 parent 87c476c commit 035e93b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions minios/click.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ router_thread(void *thread_data)

if (r->initialize(errh) < 0) {
LOG("Router init failed!");
f_stop = 1;
return;
}

Expand Down

0 comments on commit 035e93b

Please sign in to comment.