OSDN Git Service

[fix] : Fixed SC1054
authorhayao <hayao@fascode.net>
Sat, 13 Feb 2021 07:12:36 +0000 (16:12 +0900)
committerhayao <hayao@fascode.net>
Sat, 13 Feb 2021 07:17:54 +0000 (16:17 +0900)
dmc

diff --git a/dmc b/dmc
index 6c26fff..1f0786e 100755 (executable)
--- a/dmc
+++ b/dmc
@@ -98,7 +98,7 @@ check_int(){
 }
 
 check_bool(){
-    if [[ -n "${1}" ]] && {[[ "${1}" = "true" ]] ||[[ "${1}" = "false" ]];}; then
+    if [[ -n "${1}" ]] && { [[ "${1}" = "true" ]] ||[[ "${1}" = "false" ]]; }; then
         return 0
     else
         return 1