From b2554880deb779f50aa82e73b247edf3a63b8837 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 31 Jan 2020 09:34:56 +0100 Subject: lib/intentions-queue: make intentions_left() work similar to flock and verbose_flock() --- bin/modify-package-state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/modify-package-state') 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 -- cgit v1.2.3-70-g09d2