mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
Check on reader to avoid redundant error messages
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6863bf2937
commit
a22631777d
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
|
||||
a.setSignalStartupAutomatically(false); // application will signal startup on its own
|
||||
a.splashScreen(CIcons::swift256());
|
||||
if (!a.parse()) { return EXIT_FAILURE; }
|
||||
if (!a.start())
|
||||
if (!a.hasSetupReader() || !a.start())
|
||||
{
|
||||
a.gracefulShutdown();
|
||||
return EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user