Exit with error when unable to connect to JACK on startup.

git-svn-id: http://svn.fuzzle.org/mloop/trunk@39 ba049829-c6ef-42ef-81ac-908dd8d2e907
master
petern 2011-04-06 11:24:54 +00:00
parent 07ba8831fe
commit adebff98b0
1 changed files with 3 additions and 2 deletions

View File

@ -7,9 +7,10 @@
int main(int argc, char **argv)
{
Jack j;
UI u;
j.Connect();
if (!j.Connect()) return 1;
UI u;
while (true) {
if (j.Run()) break;