Skip to content

Commit

Permalink
feedback ltshb
Browse files Browse the repository at this point in the history
  • Loading branch information
ltclm committed Sep 7, 2022
1 parent d208367 commit 20b24de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MOUNT=$(realpath "${PROBE_MOUNTPOINT:-/tmp}")
READY_FILE="${MOUNT}/checker_ready.txt"

clean_probe_files() {
rm -f "${READY_FILE}" || :
rm -f "${READY_FILE}" || :
}

# source this stuff until here
Expand All @@ -18,5 +18,6 @@ if searchd --status 1> /dev/null; then
echo "READY" > "${READY_FILE}"
exit 0
else
clean_probe_files
exit 1
fi

0 comments on commit 20b24de

Please sign in to comment.