Do not fail lockfile cleanup if files do not exist

Change-type: patch
This commit is contained in:
Felipe Lalanne 2022-04-13 12:29:45 -04:00
parent f5ca7e87f0
commit 8681d6b580

View File

@ -61,7 +61,7 @@ export LOCKFILE_UID=65534
# Cleanup leftover Supervisor-created lockfiles from any previous processes.
# Supervisor-created lockfiles have a UID of 65534.
find "/mnt/root${BASE_LOCK_DIR}" -type f -user "${LOCKFILE_UID}" -name "*updates.lock" -delete
find "/mnt/root${BASE_LOCK_DIR}" -type f -user "${LOCKFILE_UID}" -name "*updates.lock" -delete || true
if [ "${LIVEPUSH}" = "1" ]; then
exec npx nodemon --watch src --watch typings --ignore tests -e js,ts,json \