lock-and-run.sh: Check for process existence rather than timeout.
* lock-and-run.sh: Check for process existence rather than timeout. Matthias Klose noted that on less powerful targets, a link might take more than 5 minutes; he mentions a figure of 3 hours for an LTO link. So this patch changes the timeout to a check for whether the locking process still exists. If the lock exists in an erroneous state (no pid file or can't signal the pid) for 30 sec, steal it. From-SVN: r277277
Showing
Please
register
or
sign in
to comment