fix generate router config

This commit is contained in:
Ryan Tharp 2019-04-23 17:03:42 -07:00
parent b36b378583
commit ecec0628f0
1 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,9 @@ main(int argc, char *argv[])
if(result.count("router") > 0)
{
asRouter = true;
// we should generate and exit (docker needs this, so we don't write a
// config each time on startup)
genconfigOnly = true;
}
if(result.count("config") > 0)