summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index eb113bb6a..de5c826a9 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -29,11 +29,8 @@ Require_stagefile .build/config .build/bootstrap
# Checking stage file
Check_stagefile .build/chroot_hooks
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
+# Aquire lock file
+Acquire_lockfile
## Processing distribution hooks