In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sa/sa1 line 17:
[ -r ${SYSCONFIG_DIR}/sysstat ] && . ${SYSCONFIG_DIR}/sysstat
^----------------------^ SC1091 (info): Not following: ./sysstat was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sa/sa1 line 29:
cd ${ENDIR}
^---------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd ${ENDIR} || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sa/sa1 line 36:
exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} 1 1 ${SA_DIR}
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec ${ENDIR}/sadc -F -L "${SADC_OPTIONS}" 1 1 ${SA_DIR}
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sa/sa1 line 38:
exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} $* ${SA_DIR}
^-------------^ 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:
exec ${ENDIR}/sadc -F -L "${SADC_OPTIONS}" "$*" ${SA_DIR}
For more information:
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |...
https://www.shellcheck.net/wiki/SC1091 -- Not following: ./sysstat was not ...