In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 15:
. /usr/html/axis-cgi/lib/functions.sh || {
^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/functions.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 21:
logger -perr -t$self -- $* || whine "$*! logger failed!!!"
^---^ 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 -perr -t"$self" -- "$*" || whine "$*! logger failed!!!"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 26:
files=$(find $1 -type f 2>/dev/null) || croak "find failed: $?"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
files=$(find "$1" -type f 2>/dev/null) || croak "find failed: $?"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 32:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 40:
__cgi_hdgen $hdgen
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_hdgen "$hdgen"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 45:
groups=$(id -Gn $user_name) || croak "find user groups failed"
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
groups=$(id -Gn "$user_name") || croak "find user groups failed"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 47:
echo $groups | grep -q "admin" && find_files administrator
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$groups" | grep -q "admin" && find_files administrator
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 48:
echo $groups | grep -q "operator" && find_files operator
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$groups" | grep -q "operator" && find_files operator
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/local_list.cgi line 49:
echo $groups | grep -q "viewer" && find_files viewer
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$groups" | grep -q "viewer" && find_files viewer
For more information:
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...