Skip to content

Commit

Permalink
[Automated] Merged develop into target master
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Apr 2, 2024
2 parents 424954d + 3d23107 commit 9dba7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/hwhandler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ detect_libcamera() {
local avail
if [[ "$(is_raspberry_pi)" = "1" ]] &&
[[ -x "$(command -v libcamera-hello)" ]]; then
avail="$(libcamera-hello --list-cameras | grep -c "Available")"
avail="$(libcamera-hello --list-cameras | grep -c "Available" || echo "0")"
if [[ "${avail}" = "1" ]]; then
get_libcamera_path | wc -l
else
Expand Down

0 comments on commit 9dba7be

Please sign in to comment.