Skip to content
Snippets Groups Projects
Unverified Commit 3b72a158 authored by Mathieu Lirzin's avatar Mathieu Lirzin
Browse files

cuirass: Check specifications from the database inside the loop.

* bin/cuirass (main): Remove 'let' before main loop.
parent 24d45055
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,8 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
(primitive-load specfile)))))
(for-each (λ (spec) (db-add-specification db spec))
new-specs)))
(let ((specs (db-get-specifications db)))
(if one-shot?
(process-specs db specs)
(while #t
(process-specs db specs)
(sleep interval)))))))))))
(if one-shot?
(process-specs db (db-get-specifications db))
(while #t
(process-specs db (db-get-specifications db))
(sleep interval))))))))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment