Fix false exit(33) status, if audio/mic is "off" but the load is above
95%
This commit is contained in:
parent
9e4e98889e
commit
e4b5b324a2
@ -15,7 +15,7 @@ amixer get $DEV | gawk -v LONG="$LONG" '
|
|||||||
print("off\n")
|
print("off\n")
|
||||||
print("X\n")
|
print("X\n")
|
||||||
print("#CCCCCC")
|
print("#CCCCCC")
|
||||||
}
|
} else {
|
||||||
if (LONG == "true") {
|
if (LONG == "true") {
|
||||||
printf("%d% \n", load)
|
printf("%d% \n", load)
|
||||||
printf("%d%\n", load)
|
printf("%d%\n", load)
|
||||||
@ -54,4 +54,5 @@ amixer get $DEV | gawk -v LONG="$LONG" '
|
|||||||
exit 33
|
exit 33
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
'
|
'
|
||||||
|
Reference in New Issue
Block a user