Shellcheck
This commit is contained in:
parent
40b18ba644
commit
0d26eca7bd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue