[hamradio-commits] [gnss-sdr] 102/303: Exit program if it cannot create SysV message queues
Carles Fernandez
carles_fernandez-guest at moszumanska.debian.org
Mon Feb 13 22:35:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
carles_fernandez-guest pushed a commit to branch master
in repository gnss-sdr.
commit 1913f0d4fabdd32a687694f626b2563a529ea627
Author: Carles Fernandez <carlesfernandez at gmail.com>
Date: Thu Oct 13 12:02:55 2016 +0200
Exit program if it cannot create SysV message queues
---
src/core/receiver/control_thread.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/receiver/control_thread.cc b/src/core/receiver/control_thread.cc
index 21f4bcd..ee8ae53 100644
--- a/src/core/receiver/control_thread.cc
+++ b/src/core/receiver/control_thread.cc
@@ -536,6 +536,7 @@ void ControlThread::sysv_queue_listener()
if((msqid = msgget(key, 0644 | IPC_CREAT )) == -1)
{
perror("msgget");
+ exit(1);
}
while(read_queue && !stop_)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git
More information about the pkg-hamradio-commits
mailing list