check webhook

This commit is contained in:
mercury
2024-03-02 15:05:21 +04:00
parent f360091c1a
commit cdcd6a7931
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
if [[ -f "/ssh/key.pub" && -s "/ssh/key.pub" ]]; then
if [[ -f "/start" && -f "/ssh/key.pub" && -s "/ssh/key.pub" ]]; then
exit 0;
else
exit 1;