mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-11 02:47:50 +08:00
Shellcheck
This commit is contained in:
parent
2b49ae0ef6
commit
1c73bd0ffb
@ -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…
x
Reference in New Issue
Block a user