1
Author: Ole Streicher <debian@liska.ath.cx>
2
Description: Use dotlockfile instead of lockfile.
3
--- a/system/unix/inmidas
4
+++ b/system/unix/inmidas
6
if [ -z "$DAZUNIT" -a \( -z "$MIDOPTION" -o "$MIDOPTION" = "NOPARALLEL" -o "$SELECT_UNIT" = "AUTO" \) ]
9
- lockfile -1 -r 10 $MID_WORK/running.lock # 2> /dev/null
10
+ dotlockfile -r 5 $MID_WORK/running.lock # 2> /dev/null
14
--- a/system/unix/inmidas.sh
15
+++ b/system/unix/inmidas.sh
17
if [ -z "$DAZUNIT" -a \( -z "$MIDOPTION" -o "$MIDOPTION" = "NOPARALLEL" -o "$SELECT_UNIT" = "AUTO" \) ]
20
- lockfile -1 -r 10 $MID_WORK/running.lock # 2> /dev/null
21
+ dotlockfile -r 5 $MID_WORK/running.lock # 2> /dev/null