In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/fan_status.sh line 4:
logger -s -t${0##*/} -p err -- $*
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -s -t"${0##*/}" -p err -- "$*"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/fan_status.sh line 24:
while [ $i -lt $nbr_of_fans ]; do
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ $i -lt "$nbr_of_fans" ]; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/fan_status.sh line 31:
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/fan_status.sh line 39:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
For more information:
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti...