fixing gui not starting

This commit is contained in:
jath03 2020-12-26 01:58:25 -08:00
parent 5c50cc2ca9
commit e673b9d331

View file

@ -168,7 +168,7 @@ int main(int argc, char* argv[])
| Process command line arguments before detection |
\*---------------------------------------------------------*/
unsigned int ret_flags = RET_FLAG_START_GUI;
if (argc != 0)
if (argc > 1)
{
ret_flags = cli_pre_detection(argc, argv);
}