Merge pull request #554 from neuroscr/issue547-2

fix generate router config
This commit is contained in:
Ryan Tharp 2019-04-23 17:04:05 -07:00 committed by GitHub
commit 4f70c729c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,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)