Skip to content

Commit 217242b

Browse files
committed
fix: fix picamera resolution logging
Signed-off-by: Patrick Gehrsitz <[email protected]>
1 parent 0bead3e commit 217242b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/hwhandler.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ list_picam_resolution() {
8787
local prefix
8888
prefix="$(date +'[%D %T]') crowsnest:"
8989
log_msg "'libcamera' device(s) resolution(s) :"
90-
while read -r i; do
90+
while IFS= read -r i; do
9191
printf "%s\t\t%s\n" "${prefix}" "${i}" >> "${CROWSNEST_LOG_PATH}"
9292
done < <(libcamera-hello --list-cameras | sed '1,2d;s/Modes:/Colorspace:/')
9393
}

0 commit comments

Comments
 (0)