search for: _lockfile

Displaying 1 result from an estimated 1 matches for "_lockfile".

Did you mean: lockfile
2012 Oct 13
4
[PATCH] hotplug/Linux: close lockfd after lock attempt
...f@aepfle.de> diff -r e0e1350dfe9b -r 5aa14d5afe6b tools/hotplug/Linux/locking.sh --- a/tools/hotplug/Linux/locking.sh +++ b/tools/hotplug/Linux/locking.sh @@ -59,6 +59,7 @@ claim_lock() print "y\n" if $fd_inum eq $file_inum; '' "$_lockfile" ) if [ x$rightfile = xy ]; then break; fi + eval "exec $_lockfd<&-" done }