raspberrypi/userland — pull request #149 by Cykey (2014-03-01 16:07:20+00:00)
Title: RaspiVid.c: actually use the return value of sigwait.

In wait_for_next_change, keep_running was always returned when WAIT_METHOD_SIGNAL was the selected wait method, even though it received the correct SIGUSR1 signal.