瀏覽代碼

Update scaling-governor.sh

tteckster 2 年之前
父節點
當前提交
bfadcb1c09
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      misc/scaling-governor.sh

+ 2 - 2
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