mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
fix install script
This commit is contained in:
parent
f1238ab762
commit
bc70ecfba7
2 changed files with 4 additions and 4 deletions
|
@ -212,8 +212,8 @@ if (type == "local") {
|
||||||
bash("check=$(docker info)");
|
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\"
|
\"echo\" \"Error: docker is not running\"
|
||||||
exit 1
|
\"exit\" \"1\"
|
||||||
fi");
|
fi");
|
||||||
|
|
||||||
if ("$3" != "") {
|
if ("$3" != "") {
|
||||||
|
|
|
@ -176,8 +176,8 @@ else
|
||||||
fi
|
fi
|
||||||
check=$(docker info)
|
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"
|
"echo" "Error: docker is not running"
|
||||||
exit 1
|
"exit" "1"
|
||||||
fi
|
fi
|
||||||
if [ "$3" != "" ]; then
|
if [ "$3" != "" ]; then
|
||||||
port="$3"
|
port="$3"
|
||||||
|
|
Loading…
Reference in a new issue