mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-11-13 07:11:12 +01:00
Fix "parameter not set" error
./muninlite: 651: INTERFACE_NAMES_OVERRIDE: parameter not set
This commit is contained in:
parent
71cc9a8110
commit
903869d10c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ RES=""
|
|||
for PLUG in $PLUGINS; do
|
||||
case "$PLUG" in
|
||||
if_|if_err_)
|
||||
if [ -z "$INTERFACE_NAMES_OVERRIDE" ]; then
|
||||
if [ -z "${INTERFACE_NAMES_OVERRIDE:-}" ]; then
|
||||
interface_names=$(sed 's/^ *//; s/:.*$//; / /d; /^lo$/d' /proc/net/dev)
|
||||
else
|
||||
interface_names="$INTERFACE_NAMES_OVERRIDE"
|
||||
|
|
Loading…
Reference in a new issue