Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 839201

Summary: net-analyzer/syweb: automated shellcheck found errors
Product: Gentoo Linux Reporter: shellbugbot <d-shellbug>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description shellbugbot 2022-04-18 11:06:04 UTC
Shellckeck found errors in one or more shellscripts provided by net-analyzer/syweb.

Kindly refer to the findings below and the shellcheck wiki for further details:

script: /usr/portage/net-analyzer/syweb/files/reconfig:11

	sed -i "/\\$symon['$1']/s|=.*|='$2';|" "${MY_INSTALLDIR}"/ \
error: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet). (

This is an automated bug report. Conservative settings were used to minimize false-positives but there's still a chance that the above list contains non-issues.
Running shellcheck again with default settings could detect other possible issues.

[1] this script:
[2] shellcheck: