diff --git a/misc/scaling-governor.sh b/misc/scaling-governor.sh index 4a5821b2..1d0774c2 100644 --- a/misc/scaling-governor.sh +++ b/misc/scaling-governor.sh @@ -57,8 +57,8 @@ show_menu() { } clear show_menu -while [ $opt != '' ]; do - if [ $opt = '' ]; then +while [ "$opt" != "" ]; do + if [ "$opt" = "" ]; then exit else case $opt in