mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
[ops] Fix mempool-build-all script exit code
This commit is contained in:
parent
ec80eac6b9
commit
fcb0c51e51
@ -16,7 +16,8 @@ if [ -f "${LOCKFILE}" ];then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
trap 'rm -f "${LOCKFILE}"; exit $?' INT TERM EXIT
|
||||
trap "rv=\$?; rm -rf "${LOCKFILE}"; exit \$rv" INT TERM EXIT
|
||||
|
||||
touch "${LOCKFILE}"
|
||||
|
||||
echo "Upgrading mempool to ${REF}" | wall
|
||||
|
Loading…
Reference in New Issue
Block a user