From a9d2ea413bc0b4ccbebd2da7a48a8c0dbaf2e676 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jan 2020 11:18:03 +0100 Subject: check intentions_left() whenever we get a package_database_lock --- bin/modify-package-state | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/modify-package-state') diff --git a/bin/modify-package-state b/bin/modify-package-state index eb1558b..9373467 100755 --- a/bin/modify-package-state +++ b/bin/modify-package-state @@ -145,6 +145,11 @@ if ! verbose_flock ${wait_for_lock} 8; then exit fi +if intentions_left; then + >&2 echo 'There are still intentions in the queue.' + exit +fi + while read -r a b; do case "${action}" in 'faulty'|'tested') -- cgit v1.2.3-54-g00ecf