Project

General

Profile

« Previous | Next » 

Revision 7428

lockfile: Linux: Fixed bug where need to lower retry count to avoid overflowing the retries variable

View differences:

lockfile
9 9
if test "$(uname)" = Darwin; then
10 10
    while ! shlock -p "$PPID" -f "$1"; do sleep "$interval"; done
11 11
else
12
    exec "$selfDir/dotlockfile" -l -r 2147483647 -p "$1" # exec to inherit PPID
12
    exec "$selfDir/dotlockfile" -l -r 65535 -p "$1" # exec to inherit PPID
13 13
fi

Also available in: Unified diff