Fixed GUI not starting when configuration flags are used

This commit is contained in:
jath03 2021-01-07 22:39:29 -08:00
parent b1b260d7cf
commit e4ec0fa46b
2 changed files with 11 additions and 6 deletions

View file

@ -167,11 +167,7 @@ int main(int argc, char* argv[])
/*---------------------------------------------------------*\
| Process command line arguments before detection |
\*---------------------------------------------------------*/
unsigned int ret_flags = RET_FLAG_START_GUI;
if (argc > 1)
{
ret_flags = cli_pre_detection(argc, argv);
}
unsigned int ret_flags = cli_pre_detection(argc, argv);
/*---------------------------------------------------------*\
| Perform local connection and/or hardware detection if not |