Skip to content

Commit

Permalink
Merge pull request #13 from r-richter/hotfix
Browse files Browse the repository at this point in the history
fixed crash on *nix based systems when starting without root permissi…
  • Loading branch information
r-richter authored Jun 21, 2020
2 parents f474581 + 7832c41 commit 0ee8fc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/frontend/console/states/output_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ namespace hyenae::frontend::console::states
_menu->set_start_state(get_start_state());
_menu->set_error_message(_network_error);

_network_device_selector->set_start_state(get_start_state());
if (_network_device_selector != NULL)
{
_network_device_selector->set_start_state(get_start_state());
}

console_menu::item* choice = _menu->prompt(_selected_item);

Expand Down

0 comments on commit 0ee8fc5

Please sign in to comment.