summaryrefslogtreecommitdiffhomepage
path: root/subr.rtl
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-03-13 08:04:01 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-03-13 08:04:01 +0000
commit14071a93f3f554b7ca9c55fd15195a71117568a1 (patch)
treef1f6daeec951ace5ca611c3a2419cb499fb1eb99 /subr.rtl
parent17375341e93034891a99783ec77ec670e43b01c4 (diff)
downloadmidipix_build-14071a93f3f554b7ca9c55fd15195a71117568a1.tar.bz2
midipix_build-14071a93f3f554b7ca9c55fd15195a71117568a1.tar.xz
subr.rtl/rtl_complex.subr:rtl_flock_acquire(): change flock(1) conflict exit code to 253 within conformant 0-255 range.
Diffstat (limited to 'subr.rtl')
-rw-r--r--subr.rtl/rtl_complex.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr.rtl/rtl_complex.subr b/subr.rtl/rtl_complex.subr
index 4894e0f6..34b87837 100644
--- a/subr.rtl/rtl_complex.subr
+++ b/subr.rtl/rtl_complex.subr
@@ -136,7 +136,7 @@ rtl_filter_vars() {
};
rtl_flock_acquire() {
- local _fd="${1}" _conflict_exit_code="${2:-622}" _wait="${3:-3600}"
+ local _fd="${1}" _conflict_exit_code="${2:-253}" _wait="${3:-3600}"
while true; do
if flock -E "${_conflict_exit_code}" -w "${_wait}" "${_fd}"; then
break;