pkgmeek: cleanup work after reporting footprint mismatch

This commit is contained in:
John McQuah 2023-09-25 17:47:25 +00:00
parent c23eb319d3
commit 1ea7303305

View File

@ -435,7 +435,7 @@ check_footprint() {
else
warning "footprint not found, creating new."; cat_footprint > "$TRUTH"
fi
(( diffs == 0 )) || exit $E_FOOTPRINT
(( diffs == 0 )) || { cleanup_work; exit $E_FOOTPRINT; }
}
parse_signify_output() { # chomps the output of check_signature()