main.cpp: Fix a compiler warning

src/gui/main.cpp:112:9: warning: bool literal returned from 'main' [-Wmain]

Used 1 to keep previous behaviour. I supposed the code was meant
to return success (0), but it does not really matter anyway.
This commit is contained in:
Olivier Goffart 2017-07-04 10:55:41 +02:00 committed by Markus Goetz
parent 0db095e02a
commit 34e75f80bc

View file

@ -109,7 +109,7 @@ int main(int argc, char **argv)
// the updater is triggered
Updater *updater = Updater::instance();
if (updater && updater->handleStartup()) {
return true;
return 1;
}
// if the application is already running, notify it.