From 6a77a544924532c15c50dfe67df10b0c9ac4b6be Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz Date: Fri, 26 Apr 2024 23:17:11 +0200 Subject: [PATCH] fix: fix indentation of picam controls Signed-off-by: Patrick Gehrsitz --- libs/hwhandler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwhandler.sh b/libs/hwhandler.sh index 0b0db78b..f19cfb82 100755 --- a/libs/hwhandler.sh +++ b/libs/hwhandler.sh @@ -114,7 +114,7 @@ list_picam_controls() { local prefix prefix="$(date +'[%D %T]') crowsnest:" log_msg "'libcamera' device controls :" - while read -r i; do + while IFS= read -r i; do if [[ ! "${i}" =~ "INFO" ]]; then printf "%s\t\t%s\n" "${prefix}" "${i}" >>"${CROWSNEST_LOG_PATH}" fi