We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bead3e commit 217242bCopy full SHA for 217242b
libs/hwhandler.sh
@@ -87,7 +87,7 @@ list_picam_resolution() {
87
local prefix
88
prefix="$(date +'[%D %T]') crowsnest:"
89
log_msg "'libcamera' device(s) resolution(s) :"
90
- while read -r i; do
+ while IFS= read -r i; do
91
printf "%s\t\t%s\n" "${prefix}" "${i}" >> "${CROWSNEST_LOG_PATH}"
92
done < <(libcamera-hello --list-cameras | sed '1,2d;s/Modes:/Colorspace:/')
93
}
0 commit comments