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 коммит произвёл Markus Goetz
Родитель 0db095e02a
Коммит 34e75f80bc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.