Commit c14d37e5 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

virtualmonitor: Return 1 if it failed to start

parent 2d391672
Pipeline #148658 passed with stage
in 1 minute and 30 seconds
......@@ -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();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment