Fix false exit(33) status, if audio/mic is "off" but the load is above

95%
This commit is contained in:
koksnuss 2018-06-28 16:46:05 +02:00
parent 9e4e98889e
commit e4b5b324a2

View File

@ -15,7 +15,7 @@ amixer get $DEV | gawk -v LONG="$LONG" '
print("off\n")
print("X\n")
print("#CCCCCC")
}
} else {
if (LONG == "true") {
printf("%d% \n", load)
printf("%d%\n", load)
@ -54,4 +54,5 @@ amixer get $DEV | gawk -v LONG="$LONG" '
exit 33
}
}
}
'