sh: fix is_idle for multi-word state values

This commit is contained in:
Levi Neely 2026-04-24 15:39:42 +02:00
parent a232925745
commit dfabeab4a8
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ fn cfg_get {
}
fn is_idle {
state=`{cfg_get state}
test $state = idle
~ `{cfg_get state} idle
}
fn usage {