Remove extra slash from lockfile path
This commit is contained in:
@@ -140,7 +140,7 @@ function lock() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# create lock file
|
# create lock file
|
||||||
eval "exec 200>/$lockfile"
|
eval "exec 200>$lockfile"
|
||||||
# acquire the lock
|
# acquire the lock
|
||||||
flock -n 200 \
|
flock -n 200 \
|
||||||
&& return 0 \
|
&& return 0 \
|
||||||
|
|||||||
Reference in New Issue
Block a user