Switch to the FreeBSD built-in lockf instead of the package flock.

This commit is contained in:
Tom Alexander
2024-05-04 12:23:56 -04:00
parent 06fb8db40a
commit faa9b7bb62
3 changed files with 1 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ function log {
function run_locked {
if [ "${RUN_LOCKED:-}" != "RUN" ]; then
exec env RUN_LOCKED=RUN flock --nonblock $LOCKFILE $0 $@
exec env RUN_LOCKED=RUN lockf -t 0 $LOCKFILE $0 $@
fi
}

View File

@@ -82,7 +82,6 @@ sysutils/cpu-microcode
sysutils/ddrescue
sysutils/dsbmd
sysutils/exfat-utils
sysutils/flock
sysutils/fusefs-exfat
sysutils/fusefs-simple-mtpfs
sysutils/fusefs-sshfs