Shellcheck

This commit is contained in:
Kroese 2023-04-01 18:53:46 +02:00 committed by GitHub
parent 2b49ae0ef6
commit 1c73bd0ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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