Skip to content

Commit

Permalink
audit: reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Aug 18, 2021
1 parent c0c3b2f commit 3753465
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/periodic/410.pkg-audit.in
Expand Up @@ -182,13 +182,16 @@ audit_pkgs_all() {
continue 2
fi
done
echo
echo "jail: ${j%|*}"
for t in audit expiration deprecation; do
${t}_pkgs "-j ${j%|*}" ${j##*|}
output=${output-}$(${t}_pkgs "-j ${j%|*}" ${j##*|})
last_rc=$?
[ $last_rc -gt 1 ] && rc=$last_rc
done
if [ -n "${output-}" ]; then
echo
echo "jail: ${j%|*}"
fi

done

return $rc
Expand Down

0 comments on commit 3753465

Please sign in to comment.