forked from AllskyTeam/allsky
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update capture_RPi.cpp: fix signal handling
Since we use system() to call libcamera-still, WIFSIGNALED() won't work since /bin/sh will almost never receive a signal. We need to look at the return code of libcamera-still for a signal, which is in retCode.
- Loading branch information
1 parent
edf6bdc
commit 8286d54
Showing
1 changed file
with
34 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters