In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.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-80367616.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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 79:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 82:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 90:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 101:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 144:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 217:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 224:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 243:
( 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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 250:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 253:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 255:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 267:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 268:
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-80367616.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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 270:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 271:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 272:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 285:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 289:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 296:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 297:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 298:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 299:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 300:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 310:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 316:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 333:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 340:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 341:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 342:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 343:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 344:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 347:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 350:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 351:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 352:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 356:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 357:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 358:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 359:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 360:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 363:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 366:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 367:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 368:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 372:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 373:
local subchilds
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 374:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 375:
local i
^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 379:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 381:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 385:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 386:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 387:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 388:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 389:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 395:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 396:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 399:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 402:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 408:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 414:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 420:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 421:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 422:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 428:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 433:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 434:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 435:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 436:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 440:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 441:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 442:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 443:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 444:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 445:
netstatpn >${tmpdir}/sys.netstat.pn
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstatpn >"${tmpdir}"/sys.netstat.pn
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 446:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 447:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 494:
local buffer_error
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 520:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 523:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 534:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 535:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 539:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 566:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 572:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 576:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 609:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 613:
local fsize
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 615:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 619:
local output_buffer
^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 638:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 639:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 641:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 642:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 643:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 644:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 645:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 668:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 669:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 670:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 671:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 674:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 675:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 676:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 677:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 678:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 680:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 684:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 686:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 688:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 690:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 691:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 696:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 699:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 700:
local dirname=$( echo "${dir}" | ${sed_equivalent_cmd} '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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 707:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 708:
local dirname=$( echo "${binprefix}/${dir}" | ${sed_equivalent_cmd} '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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 716:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 717:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 719:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 722:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 724:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 725:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 726:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 727:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 734:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 736:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 737:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 740:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 741:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 743:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 747:
local tsdata
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 750:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 752:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 753:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 755:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 756:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 757:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 759:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 761:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 762:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 767:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 769:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 770:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 772:
[ -x ${binprefix}/sbin/wec ] && ${binprefix}/sbin/wec -v 2>&1 > ${tmpdir}/wec.version
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--^ SC2069 (warning): To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -x "${binprefix}"/sbin/wec ] && "${binprefix}"/sbin/wec -v 2>&1 > "${tmpdir}"/wec.version
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 778:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 779:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 781:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 782:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 783:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 786:
is_available ${lsof%% *} && $lsof $i >${tmpdir}/syslog.$i.lsof 2>/dev/null || no_lsof_fallback $i >${tmpdir}/syslog.$i.lsof
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^-- 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 || no_lsof_fallback "$i" >"${tmpdir}"/syslog."$i".lsof
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 787:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 791:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 792:
is_available ${lsof%% *} && $lsof $i >${tmpdir}/wec.$i.lsof || no_lsof_fallback $i >${tmpdir}/wec.$i.lsof
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^-- 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 || no_lsof_fallback "$i" >"${tmpdir}"/wec."$i".lsof
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 793:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 801:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 803:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 804:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 805:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 806:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 808:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 814:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 816:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 818:
read ans
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 820:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 823:
findL . \( -name "*.persist" -o -name "*.state" -o -name "*.pid" -o -path "*/reports/*" \) | 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 "*.state" -o -name "*.pid" -o -path "*/reports/*" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 827:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 828:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 829:
findL . \( -name "*.persist" -o -name "*.state" -o -name "*.pid" -o -path "*/reports/*" \) | 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 "*.state" -o -name "*.pid" -o -path "*/reports/*" \) | grep -v "syslog-ng.*\.ctl" | $cpiopdL "${tmpdir}"/var
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 834:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 851:
$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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 852:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 853:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 854:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 857:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 858:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 859:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 860:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 894:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 895:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 950:
local found=0
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 954:
((found+=1))
^----------^ SC3006 (warning): In POSIX sh, standalone ((..)) is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 968:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 977:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 983:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 992:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 998:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 999:
netstat -pn >${tmpdir}/sys.netstat.pn.noss
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
netstat -pn >"${tmpdir}"/sys.netstat.pn.noss
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1011:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1018:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1019:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1021:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1022:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1025:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1065:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1066:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1067:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1069:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1072:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1073:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1076:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1078:
[ -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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1085:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1090:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1099:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1100:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1103:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1104:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1113:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1114:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1115:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1118:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1119:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1130:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1135:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1139:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1142:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1145:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1148:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1152:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1184:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1185:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1186:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1187:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1192:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1201:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1202:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1203:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1204:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1209:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1218:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1219:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1220:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1221:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1226:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1245:
local LINKTARGET
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1246:
local PKGLOGFILENAMES
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1247:
local SEARCHSTRING
^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1266:
local PIVOT
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1267:
local LASTLINE
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1268:
local PKGINFO
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1273:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1288:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1289:
no_lsof_fallback() { ls -l /proc/${1}/fd ; }
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
no_lsof_fallback() { ls -l /proc/"${1}"/fd ; }
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1360:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1364:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1372:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1377:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1390:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1444:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1493:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1498:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1501:
[ "${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1503:
[ "${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1507:
local self
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1508:
local parent
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1509:
local ret
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1510:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1511:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1512:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1515:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1516:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1517:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1520:
local childs
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1521:
local dummy
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1522:
local child
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1523:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1524:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1525:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1528:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1529:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1530:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1534:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1535:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1538:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1544:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1586:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1589:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1590:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1593:
[ "${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1595:
[ "${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1602:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1603:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1604:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1605:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1610:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1691:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1700:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1713:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1714:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1716:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1725:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1732:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1736:
${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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1750:
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-80367616.squashfs_v4_le_extract/usr/sbin/syslog-ng-debun line 1758:
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/SC2069 -- To redirect stdout+stderr, 2>&1 m...