In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/get_alignment_support.sh line 8:
com.axis.LensCorrection.GetAlignmentSupport) &&
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/get_alignment_support.sh line 14:
while read keyw val; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/get_alignment_support.sh line 26:
if [ $alignment_support -gt 0 ]; then
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$alignment_support" -gt 0 ]; then
For more information:
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2162 -- read without -r will mangle backs...