mirror of
https://github.com/zadam/trilium.git
synced 2025-01-14 19:19:28 +08:00
a bit better
This commit is contained in:
parent
0b0d1b59b9
commit
8bb8ab96f1
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "200" ; then
|
if wget --spider -S "127.0.0.1:8080/login" 2>&1 | grep -w "HTTP/1.1 200 OK" ; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue