Shellcheck

This commit is contained in:
Kroese 2023-04-01 18:53:46 +02:00 committed by GitHub
parent 40b18ba644
commit 0d26eca7bd

View File

@ -11,8 +11,8 @@ while true; do
sleep 1 sleep 1
result=$(cat /proc/interrupts | grep NMI) result=$(cat /proc/interrupts | grep NMI)
result=$(echo $result | sed 's/[^0-9]*//g') result=$(echo "$result" | sed 's/[^0-9]*//g')
result=$(echo $result | sed 's/^0*//') result=$(echo "$result" | sed 's/^0*//')
if [ "$result" != "" ]; then if [ "$result" != "" ]; then