pull/12/head
Tom Early 7 years ago
parent 17ee395b10
commit f3c81bae41

@ -122,12 +122,12 @@ BaseStatus () {
} }
ModuleStatus () { ModuleStatus () {
local LoadState SubState local LoadState SubState mcvar
if [ -z ${3} ]; then if [ -z ${3} ]; then
ModuleState[$1]='EMPTY' ModuleState[$1]='EMPTY'
else else
mcvar="n${3}" mcvar="n${3}"
if [[ ${!mcar} > 1 ]]; then if [[ ${!mcvar} > 1 ]]; then
process="${3}${2}" process="${3}${2}"
else else
process="${3}" process="${3}"

Loading…
Cancel
Save

Powered by TurnKey Linux.