mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 13:52:13 +01:00
irqstats: fix iqrstats on Raspberry Pi (partial revert for 5190244c
)
Raspberry Pi has line "FIQ: usb_fiq" in /proc/interrupts. "VALUE=$((VALUE + VAL))" results "Illegal number" in dash (Raspberry Pi) "VALUE=$((VALUE + $VAL))" works in dash, bash and busybox (OpenWrt).
This commit is contained in:
parent
0ae0f9cdcb
commit
4c53449fa3
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ fetch_irqstats() {
|
|||
VALUE=0
|
||||
for VAL in $VALS;
|
||||
do
|
||||
VALUE=$((VALUE + VAL))
|
||||
VALUE=$((VALUE + $VAL))
|
||||
done
|
||||
echo "i$ID.value $VALUE"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue