In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/heater_status.sh line 21:
while [ $i -lt $nbr_of_heaters ]; do
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ $i -lt "$nbr_of_heaters" ]; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/heater_status.sh line 27:
stat=$(echo $stat)
^-----------^ SC2116 (style): Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
stat=$(echo "$stat")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/heater_status.sh line 35:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti...
https://www.shellcheck.net/wiki/SC2116 -- Useless echo? Instead of 'cmd $(e...