1
0
mirror of https://invent.kde.org/network/krfb synced 2024-06-28 22:14:41 +00:00

virtualmonitor: Return 1 if it failed to start

This commit is contained in:
Aleix Pol 2022-02-21 18:14:20 +01:00 committed by Aleix Pol Gonzalez
parent 2d391672e5
commit c14d37e56f

View File

@ -167,7 +167,9 @@ int main(int argc, char *argv[])
sigemptyset(&sigs);
sigaddset(&sigs, SIGPIPE);
sigprocmask(SIG_BLOCK, &sigs, nullptr);
server.start();
if (!server.start()) {
return 1;
}
return app.exec();
}