Skip to content

Commit

Permalink
Change optirun to use blocking sockets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thulinma committed Jul 23, 2012
1 parent d739e15 commit 6733557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optirun.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ int main(int argc, char *argv[]) {


/* Connect to listening daemon */
bb_status.bb_socket = socketConnect(bb_config.socket_path, SOCK_NOBLOCK);
bb_status.bb_socket = socketConnect(bb_config.socket_path, SOCK_BLOCK);
if (bb_status.bb_socket < 0) {
bb_log(LOG_ERR, "Could not connect to bumblebee daemon - is it running?\n");
run_fallback(argv + optind);
Expand Down

0 comments on commit 6733557

Please sign in to comment.