bryan 2 năm trước cách đây
mục cha
commit
00b82452f4
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      openwrtbuilder

+ 1 - 2
openwrtbuilder

@@ -570,8 +570,7 @@ askOk() {
     local _response
     read -r -p "$* [y/N]" _response
     _response=${_response,,}
-    [[ ! "$_response" =~ ^(yes|y)$ ]] && return 1
-    return 0
+    [[ "$_response" =~ ^(yes|y)$ ]]
 }