diff --git a/extra/install.batsh b/extra/install.batsh index 31b8f425e..cf14d0aea 100644 --- a/extra/install.batsh +++ b/extra/install.batsh @@ -211,7 +211,7 @@ if (type == "local") { bash("check=$(docker info)"); - bash("if [[\"$check\" == *\"Is the docker daemon running\"*]]; then + bash("if [[ \"$check\" == *\"Is the docker daemon running\"* ]]; then echo \"Error: docker is not running\" exit 1 fi"); diff --git a/install.sh b/install.sh index c3a48d9cf..a840bb2c0 100644 --- a/install.sh +++ b/install.sh @@ -175,7 +175,7 @@ else exit 1 fi check=$(docker info) - if [["$check" == *"Is the docker daemon running"*]]; then + if [[ "$check" == *"Is the docker daemon running"* ]]; then echo "Error: docker is not running" exit 1 fi