mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
a bit better
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
else
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user