In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 21:
exec bash $0 "$@"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec bash "$0" "$@"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 32:
argv_backup="${@}"
^----^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 77:
showdep="dpkg -S"
^-----^ SC2034 (warning): showdep appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 80:
vmstat=vmstat
^----^ SC2034 (warning): vmstat appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 88:
dfk_parser () { tail -1 | while read FS ALL USED AVAIL UPERC MP; do if echo ${AVAIL} | ${grepq} '%'; then echo ${USED} ; else echo ${AVAIL} ; fi done ; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { tail -1 | while read FS ALL USED AVAIL UPERC MP; do if echo "${AVAIL}" | ${grepq} '%'; then echo "${USED}" ; else echo "${AVAIL}" ; fi done ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 99:
ywait () { jobs -p >${tmpdir}/sdn.jobs ; for i in $( grep -v "^$tailpid\$" ${tmpdir}/sdn.jobs ) ; do wait $i ; done ; }
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mywait () { jobs -p >"${tmpdir}"/sdn.jobs ; for i in $( grep -v "^$tailpid\$" "${tmpdir}"/sdn.jobs ) ; do wait "$i" ; done ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 142:
exit ${1:-0}
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exit "${1:-0}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 215:
exit 0
^----^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 222:
[ -n "$privacy_mode" ] && [ "x$debug_params" = "x$default_debug_params" ] && debug_params="$default_ldebug_params"
^--------------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
Did you mean:
[ -n "$privacy_mode" ] && [ "$debug_params" = "$default_debug_params" ] && debug_params="$default_ldebug_params"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 241:
( umask 077 ; mkdir ${tmpdir} )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
( umask 077 ; mkdir "${tmpdir}" )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 248:
exec 3>&1 >${tmpdir}/syslog-ng.debun.txt 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec 3>&1 >"${tmpdir}"/syslog-ng.debun.txt 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 251:
while [ ! -f ${tmpdir}/syslog-ng.debun.txt ] ; do sleep 1 ; done
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ ! -f "${tmpdir}"/syslog-ng.debun.txt ] ; do sleep 1 ; done
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 253:
tail -f ${tmpdir}/syslog-ng.debun.txt >&3 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -f "${tmpdir}"/syslog-ng.debun.txt >&3 &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 265:
if checkpid ${debugpid} ; then
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if checkpid "${debugpid}" ; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 266:
kill -INT $debugpid
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
kill -INT "$debugpid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 267:
checkpid ${debugpid} && sleep 1
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && sleep 1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 268:
checkpid ${debugpid} && kill -9 $debugpid
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && kill -9 "$debugpid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 269:
checkpid ${debugpid} && sleep 1
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && sleep 1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 270:
checkpid ${debugpid} && echo "I gave up... debugger pid doesn't die"
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "${debugpid}" && echo "I gave up... debugger pid doesn't die"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 283:
checkpid $i && kill -INT $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "$i" && kill -INT "$i"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 287:
checkpid $i && kill -9 $i 2>/dev/null
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
checkpid "$i" && kill -9 "$i" 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 294:
cd ${tmpdir}
^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "${tmpdir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 295:
touch ${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
touch "${tmpdir}".tgz
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 296:
chmod 600 ${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 600 "${tmpdir}".tgz
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 297:
${selftar} | ${gzipcmd} >${tmpdir}.tgz
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${selftar} | ${gzipcmd} >"${tmpdir}".tgz
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 298:
cd ..
^---^ SC2103 (info): Use a ( subshell ) to avoid having to cd back.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 308:
cd ${tmpdir}
^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "${tmpdir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 314:
[ -n "$service_status" ] && $service_status >${tmpdir}/svc.post
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$service_status" ] && $service_status >"${tmpdir}"/svc.post
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 331:
extras="${extras}${extras:+ }$@"
^-----------------------^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 338:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 339:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 340:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 341:
local tmpfile=${tmpdir}/getparent.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getparent.$$.txt
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 342:
$pseao pid,ppid >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pseao pid,ppid >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 345:
while read self parent ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 348:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 349:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 350:
echo $ret
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$ret"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 354:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 355:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 356:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 357:
local tmpfile=${tmpdir}/getchilds.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getchilds.$$.txt
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 358:
$pseao ppid,pid >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pseao ppid,pid >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 361:
while read dummy child ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 364:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 365:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 366:
echo ${childs}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 370:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 371:
local subchilds
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 372:
childs=$( getchilds ${1} )
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
childs=$( getchilds "${1}" )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 373:
local i
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 377:
subchilds="${subchilds}${subchilds:+ }$(getallchilds $i)"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
subchilds="${subchilds}${subchilds:+ }$(getallchilds "$i")"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 379:
echo ${childs} ${subchilds}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}" "${subchilds}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 383:
pwd > ${tmpdir}/debun.pwd
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pwd > "${tmpdir}"/debun.pwd
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 384:
echo "${0} ${argv_backup}" > ${tmpdir}/debun.argv
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${0} ${argv_backup}" > "${tmpdir}"/debun.argv
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 385:
echo "${version}" > ${tmpdir}/debun.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${version}" > "${tmpdir}"/debun.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 386:
id > ${tmpdir}/debun.runas
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
id > "${tmpdir}"/debun.runas
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 387:
echo $PATH > ${tmpdir}/debun.path
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$PATH" > "${tmpdir}"/debun.path
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 393:
free >${tmpdir}/sys.free
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
free >"${tmpdir}"/sys.free
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 394:
vmstat >${tmpdir}/sys.vmstat
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
vmstat >"${tmpdir}"/sys.vmstat
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 397:
${opensslcmd} version >${tmpdir}/sys.openssl.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${opensslcmd} version >"${tmpdir}"/sys.openssl.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 400:
java -version >${tmpdir}/sys.java.version 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
java -version >"${tmpdir}"/sys.java.version 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 406:
if $ipconfig >${tmpdir}/net.ip ; then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if $ipconfig >"${tmpdir}"/net.ip ; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 412:
if routeconfig >${tmpdir}/net.route ; then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if routeconfig >"${tmpdir}"/net.route ; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 418:
[ -f /etc/nsswitch.conf ] && cp /etc/nsswitch.conf ${tmpdir}/sys.nsswitch.conf
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/nsswitch.conf ] && cp /etc/nsswitch.conf "${tmpdir}"/sys.nsswitch.conf
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 419:
[ -f /etc/resolv.conf ] && cp /etc/resolv.conf ${tmpdir}/sys.resolv.conf
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/resolv.conf ] && cp /etc/resolv.conf "${tmpdir}"/sys.resolv.conf
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 420:
[ -f /etc/hosts ] && cp /etc/hosts ${tmpdir}/sys.hosts
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /etc/hosts ] && cp /etc/hosts "${tmpdir}"/sys.hosts
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 426:
$pscmd >${tmpdir}/sys.ps
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$pscmd >"${tmpdir}"/sys.ps
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 431:
$dfk >${tmpdir}/sys.df_k
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfk >"${tmpdir}"/sys.df_k
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 432:
$dfh >${tmpdir}/sys.df_h
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfh >"${tmpdir}"/sys.df_h
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 433:
$dfi >${tmpdir}/sys.df_i 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dfi >"${tmpdir}"/sys.df_i 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 434:
$mount >${tmpdir}/sys.mount
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$mount >"${tmpdir}"/sys.mount
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 438:
$w >${tmpdir}/sys.w
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$w >"${tmpdir}"/sys.w
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 439:
$dmesg >${tmpdir}/sys.dmesg
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$dmesg >"${tmpdir}"/sys.dmesg
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 440:
netstatnlp >${tmpdir}/sys.netstat.ltn
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstatnlp >"${tmpdir}"/sys.netstat.ltn
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 441:
$netstatpunt >${tmpdir}/sys.netstat.est
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$netstatpunt >"${tmpdir}"/sys.netstat.est
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 442:
netstatlunp >${tmpdir}/sys.netstat.lunp
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstatlunp >"${tmpdir}"/sys.netstat.lunp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 443:
$netstatsu >${tmpdir}/sys.netstat.su
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$netstatsu >"${tmpdir}"/sys.netstat.su
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 444:
[ -f /proc/net/udp ] && cp /proc/net/udp ${tmpdir}/sys.proc.net.udp
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f /proc/net/udp ] && cp /proc/net/udp "${tmpdir}"/sys.proc.net.udp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 491:
local buffer_error
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 517:
local header fsize buffer_pubkey buffer_rest hashopts hashnum
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 520:
if [ ${opensslmajor} -gt 0 ]; then
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "${opensslmajor}" -gt 0 ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 531:
buffer_rest=$( ${opensslcmd} x509 -in "${1}" -noout ${hashopts} -serial -dates -fingerprint -subject -issuer | tr '\n' ';' )
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
buffer_rest=$( ${opensslcmd} x509 -in "${1}" -noout "${hashopts}" -serial -dates -fingerprint -subject -issuer | tr '\n' ';' )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 532:
printf "${header}${fsize};${buffer_pubkey}${hashnum}${buffer_rest}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 536:
local header fsize buffer_pubkey buffer_error
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 563:
printf "${header}${fsize};${buffer_pubkey}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 569:
local header fsize buffer_pubkey buffer_error
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 573:
if [ ${opensslmajor} -gt 0 ]; then
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "${opensslmajor}" -gt 0 ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 606:
printf "${header}${fsize};${buffer_pubkey}"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 610:
local fsize
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 612:
printf "OTHER_FILE;${1};${fsize};"
^-------------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 616:
local output_buffer
^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 635:
local OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 636:
read OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST <${tmpdir}/sys.openssl.version
^--^ SC2162 (info): read without -r will mangle backslashes.
^-----^ SC2034 (warning): OPENSSL appears unused. Verify use (or export if used externally).
^--------^ SC2034 (warning): OPENSSLDAY appears unused. Verify use (or export if used externally).
^----------^ SC2034 (warning): OPENSSLMONTH appears unused. Verify use (or export if used externally).
^---------^ SC2034 (warning): OPENSSLYEAR appears unused. Verify use (or export if used externally).
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read OPENSSL OPENSSLVER OPENSSLDAY OPENSSLMONTH OPENSSLYEAR REST <"${tmpdir}"/sys.openssl.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 638:
cd "${confdir}"
^-------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${confdir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 639:
findL . -name '*.0' -o -name '*.1' -o -name '*.key' -o -name '*.crt' -o -name '*.pem' >${tmpdir}/syslog.etc.pki.files 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . -name '*.0' -o -name '*.1' -o -name '*.key' -o -name '*.crt' -o -name '*.pem' >"${tmpdir}"/syslog.etc.pki.files 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 640:
while read FILE; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 641:
pki_process_file "${FILE}" >>${tmpdir}/syslog.etc.pki.info.csv
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pki_process_file "${FILE}" >>"${tmpdir}"/syslog.etc.pki.info.csv
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 642:
done <${tmpdir}/syslog.etc.pki.files
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done <"${tmpdir}"/syslog.etc.pki.files
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 665:
cd "${confdir}"
^-------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${confdir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 666:
mkdir ${tmpdir}/config
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir "${tmpdir}"/config
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 667:
findL . > ${tmpdir}/syslog.etc.files
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . > "${tmpdir}"/syslog.etc.files
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 668:
touch ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
touch "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 671:
grep '\.key$' ${tmpdir}/syslog.etc.files >> ${tmpdir}/syslog.etc.files.removed
^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.key$' "${tmpdir}"/syslog.etc.files >> "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 672:
grep '\.jks$' ${tmpdir}/syslog.etc.files >> ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.jks$' "${tmpdir}"/syslog.etc.files >> "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 673:
grep '\.keytab$' ${tmpdir}/syslog.etc.files >> ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep '\.keytab$' "${tmpdir}"/syslog.etc.files >> "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 674:
grep -v '\.key$' ${tmpdir}/syslog.etc.files | grep -v '\.jks$' | grep -v '\.keytab$' | \
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
grep -v '\.key$' "${tmpdir}"/syslog.etc.files | grep -v '\.jks$' | grep -v '\.keytab$' | \
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 675:
while read FILE; do \
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 677:
echo "${FILE}" >> ${tmpdir}/syslog.etc.files.removed
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${FILE}" >> "${tmpdir}"/syslog.etc.files.removed
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 681:
done > ${tmpdir}/syslog.etc.files.saved
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done > "${tmpdir}"/syslog.etc.files.saved
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 683:
cp ${tmpdir}/syslog.etc.files ${tmpdir}/syslog.etc.files.saved
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cp "${tmpdir}"/syslog.etc.files "${tmpdir}"/syslog.etc.files.saved
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 685:
$cpiopdL ${tmpdir}/config < ${tmpdir}/syslog.etc.files.saved
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$cpiopdL "${tmpdir}"/config < "${tmpdir}"/syslog.etc.files.saved
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 687:
findL ${tmpdir}/config -name "*.conf*" | \
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL "${tmpdir}"/config -name "*.conf*" | \
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 688:
while read FILE; do \
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 693:
mkdir ${tmpdir}/scl
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir "${tmpdir}"/scl
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 696:
cd "${dir}"
^---------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${dir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 697:
local dirname=$( echo "${dir}" | sed -e 's/\//_/g' )
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values.
^-- SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 704:
cd "${binprefix}/${dir}"
^----------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${binprefix}/${dir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 705:
local dirname=$( echo "${binprefix}/${dir}" | sed -e 's/\//_/g' )
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values.
^-- SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 713:
echo 'Old "getsyslogpids":' >${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 'Old "getsyslogpids":' >"${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 714:
getsyslogpids >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
getsyslogpids >>"${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 716:
sngpid=$( cat ${piddir}/syslog-ng.pid )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngpid=$( cat "${piddir}"/syslog-ng.pid )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 719:
sngpid=$( $pseao pid,args | grep "[s]yslog-ng " | head -1 | while read PID CMD; do echo $PID; done )
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngpid=$( $pseao pid,args | grep "[s]yslog-ng " | head -1 | while read PID CMD; do echo "$PID"; done )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 721:
ppid=$( getparent $sngpid )
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ppid=$( getparent "$sngpid" )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 722:
sngallpids="$( getallchilds $sngpid )"
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sngallpids="$( getallchilds "$sngpid" )"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 723:
echo "SVpid: $ppid SNGpid: $sngpid Chpids: ${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "SVpid: $ppid SNGpid: $sngpid Chpids: ${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 724:
tail -1 ${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -1 "${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 731:
sngallpids=$( echo ${sngallpids} )
^---------------------^ 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:
sngallpids=$( echo "${sngallpids}" )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 733:
printf 'ps -l -f -p "%s"\n' "${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf 'ps -l -f -p "%s"\n' "${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 734:
ps -l -f -p "${sngallpids}" >>${tmpdir}/syslog.pids
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -l -f -p "${sngallpids}" >>"${tmpdir}"/syslog.pids
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 737:
wecpid=$( $pseao pid,args | grep "[w]ec " | while read PID CMD; do echo $PID; done )
^--^ SC2162 (info): read without -r will mangle backslashes.
^-^ SC2034 (warning): CMD appears unused. Verify use (or export if used externally).
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
wecpid=$( $pseao pid,args | grep "[w]ec " | while read PID CMD; do echo "$PID"; done )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 738:
[ -n "$wecpid" ] && echo $wecpid >${tmpdir}/wec.pid || echo "No wec was found running." >${tmpdir}/wec.pid
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$wecpid" ] && echo "$wecpid" >"${tmpdir}"/wec.pid || echo "No wec was found running." >"${tmpdir}"/wec.pid
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 740:
[ -n "$service_status" ] && $service_status >${tmpdir}/svc.pre
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$service_status" ] && $service_status >"${tmpdir}"/svc.pre
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 744:
local tsdata
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 747:
[ -f ${tmpdir}/syslog.stats.${tsdata} ] && sleep 5 && tsdata=$( timestamp )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f "${tmpdir}"/syslog.stats."${tsdata}" ] && sleep 5 && tsdata=$( timestamp )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 749:
${syslogngctlbin} stats > ${tmpdir}/syslog.stats.${tsdata} 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} stats > "${tmpdir}"/syslog.stats."${tsdata}" 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 750:
echo ${syslogngctlbin} stats
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" stats
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 752:
${syslogngctlbin} query get "*" > ${tmpdir}/syslog.query.all.${tsdata} 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} query get "*" > "${tmpdir}"/syslog.query.all."${tsdata}" 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 753:
echo ${syslogngctlbin} query get "*"
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" query get "*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 754:
if [ -x ${syslogngquerybin} ]; then
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -x "${syslogngquerybin}" ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 756:
rm ${tmpdir}/syslog.query.all.${tsdata}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "${tmpdir}"/syslog.query.all."${tsdata}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 758:
${syslogngquerybin} sum "*" > ${tmpdir}/syslog.query.all.${tsdata} 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngquerybin} sum "*" > "${tmpdir}"/syslog.query.all."${tsdata}" 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 759:
echo ${syslogngquerybin} sum "*"
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngquerybin}" sum "*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 764:
ls -la "${binprefix}" > ${tmpdir}/syslog.lsl.install_dir 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ls -la "${binprefix}" > "${tmpdir}"/syslog.lsl.install_dir 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 766:
$syslogbin --version > ${tmpdir}/syslog.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$syslogbin --version > "${tmpdir}"/syslog.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 767:
head -1 ${tmpdir}/syslog.version
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
head -1 "${tmpdir}"/syslog.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 773:
if ${syslogngctlbin} show-license-info > ${tmpdir}/syslog.license-usage 2>& then
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if ${syslogngctlbin} show-license-info > "${tmpdir}"/syslog.license-usage 2>& then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 774:
${syslogngctlbin} show-license-info --json > ${tmpdir}/syslog.license-usage.json 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} show-license-info --json > "${tmpdir}"/syslog.license-usage.json 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 776:
echo ${syslogngctlbin} show-license-info
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" show-license-info
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 777:
${syslogngctlbin} credentials status > ${tmpdir}/syslog.credentials.status 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogngctlbin} credentials status > "${tmpdir}"/syslog.credentials.status 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 778:
echo ${syslogngctlbin} credentials status
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${syslogngctlbin}" credentials status
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 781:
is_available ${lsof%% *} && $lsof $i >${tmpdir}/syslog.$i.lsof 2>/dev/null || echo "No lsof in path." >${tmpdir}/syslog.$i.lsof
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
is_available "${lsof%% *}" && $lsof "$i" >"${tmpdir}"/syslog."$i".lsof 2>/dev/null || echo "No lsof in path." >"${tmpdir}"/syslog."$i".lsof
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 782:
myplimit $i >${tmpdir}/syslog.$i.limits
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit "$i" >"${tmpdir}"/syslog."$i".limits
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 786:
while read i; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 787:
is_available ${lsof%% *} && $lsof $i >${tmpdir}/wec.$i.lsof || echo "No lsof in path." >${tmpdir}/wec.$i.lsof
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
is_available "${lsof%% *}" && $lsof "$i" >"${tmpdir}"/wec."$i".lsof || echo "No lsof in path." >"${tmpdir}"/wec."$i".lsof
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 788:
done < ${tmpdir}/wec.pid
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "${tmpdir}"/wec.pid
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 796:
ls -laR "${vardir}" >${tmpdir}/syslog.lslR.var 2>&
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ls -laR "${vardir}" >"${tmpdir}"/syslog.lslR.var 2>&1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 798:
$duks "${vardir}/" >${tmpdir}/syslog.duks.var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$duks "${vardir}/" >"${tmpdir}"/syslog.duks.var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 799:
read vardu dir <${tmpdir}/syslog.duks.var
^--^ SC2162 (info): read without -r will mangle backslashes.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read vardu dir <"${tmpdir}"/syslog.duks.var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 800:
mkdir ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 801:
cd "${vardir}"
^------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "${vardir}" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 803:
freek_tmp=$( ${dfk} ${tmpdir} | dfk_parser )
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
freek_tmp=$( ${dfk} "${tmpdir}" | dfk_parser )
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 809:
findL . | grep -v run\\/syslog-ng.ctl$ | $cpiopdL ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . | grep -v run\\/syslog-ng.ctl$ | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 811:
printf "Size of ${vardir} is larger than $varlimit kilobytes.\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 813:
read ans
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 815:
findL . | grep -v "syslog-ng*\.ctl" | $cpiopdL ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . | grep -v "syslog-ng*\.ctl" | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 818:
findL . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 822:
printf "TOO LOW free disk space on the filesystem holding ${tmpdir}\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 823:
printf "to create a full copy of ${vardir}!\nOnly copying most important files.\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 824:
findL . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL ${tmpdir}/var
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
findL . \( -name "*.persist" -o -name "*.pid" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 829:
while read x ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 846:
$lddcmd $syslogrealbin |grep -v needs >${tmpdir}/syslog.ldd
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$lddcmd "$syslogrealbin" |grep -v needs >"${tmpdir}"/syslog.ldd
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 847:
format_ldd_output <${tmpdir}/syslog.ldd >${tmpdir}/syslog.ldfiles
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
format_ldd_output <"${tmpdir}"/syslog.ldd >"${tmpdir}"/syslog.ldfiles
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 848:
for i in $( cat ${tmpdir}/syslog.ldfiles ) ; do
^-- SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for i in $( cat "${tmpdir}"/syslog.ldfiles ) ; do
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 849:
distpkgoffile $i >>${tmpdir}/syslog.ldpkg
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
distpkgoffile "$i" >>"${tmpdir}"/syslog.ldpkg
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 852:
sort <${tmpdir}/syslog.ldpkg | uniq >${tmpdir}/syslog.ldpkg.u
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sort <"${tmpdir}"/syslog.ldpkg | uniq >"${tmpdir}"/syslog.ldpkg.u
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 853:
mv ${tmpdir}/syslog.ldpkg.u ${tmpdir}/syslog.ldpkg
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mv "${tmpdir}"/syslog.ldpkg.u "${tmpdir}"/syslog.ldpkg
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 854:
for i in $( cat ${tmpdir}/syslog.ldpkg ) ; do
^-----------------------------^ SC2013 (info): To read lines rather than words, pipe/redirect to a 'while read' loop.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for i in $( cat "${tmpdir}"/syslog.ldpkg ) ; do
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 855:
distpkgstatus $i >>${tmpdir}/syslog.ldinfos
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
distpkgstatus "$i" >>"${tmpdir}"/syslog.ldinfos
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 889:
while read SERVICE LOAD ACTIVE SUB DESCRIPTION ; do output_buffer=$( systemctl show -p FragmentPath ${SERVICE} ) ; echo "${output_buffer##FragmentPath=}" ; done | \
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): LOAD appears unused. Verify use (or export if used externally).
^----^ SC2034 (warning): ACTIVE appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): SUB appears unused. Verify use (or export if used externally).
^---------^ SC2034 (warning): DESCRIPTION appears unused. Verify use (or export if used externally).
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while read SERVICE LOAD ACTIVE SUB DESCRIPTION ; do output_buffer=$( systemctl show -p FragmentPath "${SERVICE}" ) ; echo "${output_buffer##FragmentPath=}" ; done | \
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 890:
while read UNITFILE; do SUFFIX=$( echo "${UNITFILE}" | tr / . ); cp "${UNITFILE}" "${tmpdir}/sys.startup.systemd-service${SUFFIX}" ; done
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 945:
local found=0
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 949:
((found+=1))
^----------^ SC3006 (warning): In POSIX sh, standalone ((..)) is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 963:
dpkg -l |grep syslog > ${tmpdir}/deb.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -l |grep syslog > "${tmpdir}"/deb.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 972:
rpm -qa |grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa |grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 978:
find /var/log/packages -name "*sys*log*" | while read -r FILE; do echo "${FILE##*/}"; done > ${tmpdir}/pkg.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
find /var/log/packages -name "*sys*log*" | while read -r FILE; do echo "${FILE##*/}"; done > "${tmpdir}"/pkg.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 987:
rpm -qa | grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa | grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 993:
netstat -punt >${tmpdir}/sys.netstat.est.noss
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstat -punt >"${tmpdir}"/sys.netstat.est.noss
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1005:
${pscmd}Z >"${tmpdir}/sys.ps.selinux"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
"${pscmd}"Z >"${tmpdir}/sys.ps.selinux"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1012:
sysstat -P ALL 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysstat -P ALL 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1013:
sysstat -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysstat -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1015:
sar -P ALL 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -P ALL 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1016:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1019:
top -b -H -n 1 -c >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -H -n 1 -c >"${tmpdir}"/sys.top.threads
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1059:
sysdef >${tmpdir}/sys.sysdef
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysdef >"${tmpdir}"/sys.sysdef
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1060:
kstat >${tmpdir}/sys.kstat
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
kstat >"${tmpdir}"/sys.kstat
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1061:
cp /etc/release ${tmpdir}/sys.release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cp /etc/release "${tmpdir}"/sys.release
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1063:
showrev >${tmpdir}/sys.showrev
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
showrev >"${tmpdir}"/sys.showrev
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1066:
sar -u 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1067:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1070:
top -b -t -n 1 -c >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -t -n 1 -c >"${tmpdir}"/sys.top.threads
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1072:
[ -x "/usr/platform/$( uname -i )/sbin/prtdiag" ] && /usr/platform/$(uname -i)/sbin/prtdiag -v &>${tmpdir}/sys.prtdiag
^---------^ SC2046 (warning): Quote this to prevent word splitting.
^---------------------^ SC3020 (warning): In POSIX sh, &> is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -x "/usr/platform/$( uname -i )/sbin/prtdiag" ] && /usr/platform/$(uname -i)/sbin/prtdiag -v &>"${tmpdir}"/sys.prtdiag
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1079:
pkginfo | grep -i syslog > ${tmpdir}/pkg.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkginfo | grep -i syslog > "${tmpdir}"/pkg.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1084:
top -b -d1 -H >${tmpdir}/sys.top.threads
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
top -b -d1 -H >"${tmpdir}"/sys.top.threads
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1093:
sysdef >${tmpdir}/sys.sysdef
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sysdef >"${tmpdir}"/sys.sysdef
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1094:
swlist >${tmpdir}/sys.swlist
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
swlist >"${tmpdir}"/sys.swlist
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1097:
sar -u 1 5 >${tmpdir}/sys.sar.cpu
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1098:
sar -d 1 5 >${tmpdir}/sys.sar.disk
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -d 1 5 >"${tmpdir}"/sys.sar.disk
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1107:
alog -o -t console >${tmpdir}/sys.console-log
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
alog -o -t console >"${tmpdir}"/sys.console-log
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1108:
oslevel -s >${tmpdir}/sys.aix.oslevel-s
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
oslevel -s >"${tmpdir}"/sys.aix.oslevel-s
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1109:
oslevel -sq >${tmpdir}/sys.aix.oslevel-sq
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
oslevel -sq >"${tmpdir}"/sys.aix.oslevel-sq
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1112:
sar -u 1 5 >${tmpdir}/sys.sar.cpu 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -u 1 5 >"${tmpdir}"/sys.sar.cpu 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1113:
sar -b 1 5 >${tmpdir}/sys.sar.disk 2>/dev/null1
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sar -b 1 5 >"${tmpdir}"/sys.sar.disk 2>/dev/null1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1124:
rpm -qa |grep syslog > ${tmpdir}/rpm.packages
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qa |grep syslog > "${tmpdir}"/rpm.packages
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1129:
lsb_release -a | tee ${tmpdir}/sys.linux.lsb-all
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
lsb_release -a | tee "${tmpdir}"/sys.linux.lsb-all
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1133:
cat /etc/debian_version >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/debian_version >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1136:
cat /etc/redhat-release >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/redhat-release >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1139:
cat /etc/slackware-version >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/slackware-version >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1142:
cat /etc/SuSE-release >${tmpdir}/sys.linux.os-release
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/SuSE-release >"${tmpdir}"/sys.linux.os-release
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1146:
cat /etc/*release /etc/*version >${tmpdir}/sys.linux.os-release 2>/dev/null
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cat /etc/*release /etc/*version >"${tmpdir}"/sys.linux.os-release 2>/dev/null
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1178:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1179:
dpkg -S $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -S "$1" >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1180:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1181:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1186:
dpkg -s ${1}
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dpkg -s "${1}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1195:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1196:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1197:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1198:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1203:
rpm -qi ${1}
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "${1}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1212:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1213:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1214:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1215:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1220:
rpm -qi $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "$1"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1239:
local LINKTARGET
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1240:
local PKGLOGFILENAMES
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1241:
local SEARCHSTRING
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1260:
local PIVOT
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1261:
local LASTLINE
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1262:
local PKGINFO
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1267:
PIVOT=$( fgrep -n "FILE LIST:" "${PKGLOGFILE}" )
^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1282:
myplimit () { [ -f "/proc/$1/limits" ] && cat /proc/$1/limits ; }
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit () { [ -f "/proc/$1/limits" ] && cat /proc/"$1"/limits ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1352:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo $pid ; done ; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo "$pid" ; done ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1356:
myplimit () { plimit $1 ; }
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
myplimit () { plimit "$1" ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1364:
pkgchk -l -p $FILE | \
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkgchk -l -p "$FILE" | \
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1369:
pkginfo -l $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pkginfo -l "$1"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1382:
topcmd () { ( uptime ; echo ; echo "::memstat" | mdb -k ; sar -u 1 1 ; echo ; ps -eao user,pid,ppid,pcpu,pmem,vsz,rss,tty,s,stime,args | head -n 1; ps -eao user,pid,ppid,pcpu,pmem,vsz,rss,tty,s,stime,args | grep -v COMMAND | sort -rn +3 ) >"${1}" 2>/dev/null ; }
^-- SC2009 (info): Consider using pgrep instead of grepping ps output.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1435:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo $pid ; done; }
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mypidof () { $pseao pid,comm | while read pid bin ; do [ "$bin" = "$1" ] && echo "$pid" ; done; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1483:
dfk_parser () { grep free | while read AVAIL REST_TEXT; do echo ${AVAIL}; done }
^--^ SC2162 (info): read without -r will mangle backslashes.
^-------^ SC2034 (warning): REST_TEXT appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { grep free | while read AVAIL REST_TEXT; do echo "${AVAIL}"; done }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1488:
mypidof () { ps -e -f | while read uid pid ppid c stime tty time command extra ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
^-^ SC2034 (warning): uid appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1491:
[ "${extra%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${extra%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1493:
[ "${command%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${command%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1497:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1498:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1499:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1500:
local tmpfile=${tmpdir}/getparent.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getparent.$$.txt
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1501:
ps -ef >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -ef >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1502:
while read user pid ppid dummy ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1505:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1506:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1507:
echo $ret
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$ret"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1510:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1511:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1512:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1513:
local tmpfile=${tmpdir}/getchilds.$$.txt
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/getchilds.$$.txt
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1514:
ps -ef >$tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ps -ef >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1515:
while read user pid ppid dummy ; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1518:
done < $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
done < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1519:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1520:
echo ${childs}
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${childs}"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1524:
local tmpfile=${tmpdir}/distpkgoffile.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1525:
if [ ! -f $tmpfile ]; then
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -f "$tmpfile" ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1528:
grep $1 $tmpfile | cut -d : -f 1 | while read x; do
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2162 (info): read without -r will mangle backslashes.
Did you mean:
grep "$1" "$tmpfile" | cut -d : -f 1 | while read x; do
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1534:
swlist -l fileset -a title -a description $1 | grep -v "^#" | grep -v "^\""
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
swlist -l fileset -a title -a description "$1" | grep -v "^#" | grep -v "^\""
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1575:
dfk_parser () { tail -1 | while read FS ALL AVAIL UPERC IUPERC MP; do echo ${AVAIL}; done }
^--^ SC2162 (info): read without -r will mangle backslashes.
^-- SC2034 (warning): FS appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): ALL appears unused. Verify use (or export if used externally).
^---^ SC2034 (warning): UPERC appears unused. Verify use (or export if used externally).
^----^ SC2034 (warning): IUPERC appears unused. Verify use (or export if used externally).
^-- SC2034 (warning): MP appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dfk_parser () { tail -1 | while read FS ALL AVAIL UPERC IUPERC MP; do echo "${AVAIL}"; done }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1578:
topcmd () { ( uptime ; svmon -G | head -n 3 ; sar -u 1 1 ; echo ; ps auxwww | head -n 1; ps auxwww | grep -v COMMAND | sort -rn +2 ) >"${1}" 2>/dev/null ; }
^-------^ SC2009 (info): Consider using pgrep instead of grepping ps output.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1579:
mypidof () { ps -eaf | while read user pid ppid c stime tty time cmd extra; do
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): user appears unused. Verify use (or export if used externally).
^-- SC2034 (warning): c appears unused. Verify use (or export if used externally).
^-^ SC2034 (warning): tty appears unused. Verify use (or export if used externally).
^--^ SC2034 (warning): time appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1582:
[ "${extra%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${extra%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1584:
[ "${cmd%% *}" = "$1" ] && echo $pid
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "${cmd%% *}" = "$1" ] && echo "$pid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1591:
local tmpfile=${tmpdir}/distpkgoffile.$$.tmp
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local tmpfile="${tmpdir}"/distpkgoffile.$$.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1592:
rpm -qf $1 >$tmpfile
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qf "$1" >"$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1593:
read x < $tmpfile
^--^ SC2162 (info): read without -r will mangle backslashes.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
read x < "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1594:
rm $tmpfile
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm "$tmpfile"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1599:
rpm -qi $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rpm -qi "$1"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1679:
${tcpdumpcmd} ${tcpdumpopts} ${tmpdir}/debug.pcap ${pcap_iface:+$pcapifparm} ${pcap_iface} ${pcap_params} &
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${tcpdumpcmd} "${tcpdumpopts}" "${tmpdir}"/debug.pcap ${pcap_iface:+$pcapifparm} "${pcap_iface}" "${pcap_params}" &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1688:
${trace} -o ${tmpdir}/trace.${i}.txt -p ${i} &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${trace} -o "${tmpdir}"/trace."${i}".txt -p "${i}" &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1701:
printf "Start countdown: ${pad}" >&
^-----------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1702:
for i in $( seq ${waitforit} -1 1 ); do printf "${bs}${pad:${#i}}$i" >&3 ; sleep 1 ; done
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
^----------^ SC3057 (warning): In POSIX sh, string indexing is undefined.
Did you mean:
for i in $( seq "${waitforit}" -1 1 ); do printf "${bs}${pad:${#i}}$i" >&3 ; sleep 1 ; done
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1704:
touch ${tmpdir}/syslog.debug
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
touch "${tmpdir}"/syslog.debug
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1713:
${trace} -o ${tmpdir}/trace.dbg.txt ${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${trace} -o "${tmpdir}"/trace.dbg.txt "${syslogbin}" "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1720:
${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogbin} "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1724:
${syslogbin} ${debug_params} >>${tmpdir}/syslog.debug 2>&1 &
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
${syslogbin} "${debug_params}" >>"${tmpdir}"/syslog.debug 2>&1 &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1738:
tail -f ${tmpdir}/syslog.debug >&3 &
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
tail -f "${tmpdir}"/syslog.debug >&3 &
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1746:
read line
^--^ SC2162 (info): read without -r will mangle backslashes.
^--^ SC2034 (warning): line appears unused. Verify use (or export if used externally).
For more information:
https://www.shellcheck.net/wiki/SC2034 -- ACTIVE appears unused. Verify use...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...