From e871b73b7c0119db5bcc184842e0c309109168cf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jan 2020 11:39:46 +0100 Subject: lib/intentions-queue: execute_all_intentions() new --- lib/intentions-queue | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/intentions-queue') diff --git a/lib/intentions-queue b/lib/intentions-queue index 5d9e977..f7c9a4f 100755 --- a/lib/intentions-queue +++ b/lib/intentions-queue @@ -101,3 +101,11 @@ intentions_left() { | sort -n \ | grep -qxm1 '[0-9]\+' } + +# execute_all_intentions +# executes all intentions +execute_all_intentions() { + while intentions_left; do + execute_intention + done +} -- cgit v1.2.3