summaryrefslogtreecommitdiff
path: root/bin/modify-package-state
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-31 09:34:56 +0100
committerErich Eckner <git@eckner.net>2020-01-31 09:44:57 +0100
commitb2554880deb779f50aa82e73b247edf3a63b8837 (patch)
tree05003f4f29c58d03e92af987444f9280291e78ce /bin/modify-package-state
parent8048b29f90d956a295349d03ab91dcbd23106d34 (diff)
downloadbuilder-b2554880deb779f50aa82e73b247edf3a63b8837.tar.xz
lib/intentions-queue: make intentions_left() work similar to flock and verbose_flock()
Diffstat (limited to 'bin/modify-package-state')
-rwxr-xr-xbin/modify-package-state2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/modify-package-state b/bin/modify-package-state
index 9373467..2b7ebbc 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -145,7 +145,7 @@ if ! verbose_flock ${wait_for_lock} 8; then
exit
fi
-if intentions_left; then
+if intentions_left ${wait_for_lock}; then
>&2 echo 'There are still intentions in the queue.'
exit
fi