]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move finalize_components_config from get_params to cmd_*.
authorColin Percival <cperciva@FreeBSD.org>
Sat, 19 Sep 2020 02:15:56 +0000 (02:15 +0000)
committerColin Percival <cperciva@FreeBSD.org>
Sat, 19 Sep 2020 02:15:56 +0000 (02:15 +0000)
commit9a63bbc93e574d1f93c1583a5f51ae3bbace476a
tree95e0b1fa65b1b8391321107fa84c145219642959
parenteef96401a91f570f476b15f1508b1884037a2c2b
Move finalize_components_config from get_params to cmd_*.

This allows us to redirect its output in cmd_cron, so that the
"src component not installed, skipped" message will be treated
the same way as other output from freebsd-update cron: Sent
in an email to root (or other address specified) if there are
updates to install, and silenced otherwise.

PR: 202492
MFC After: 1 week
Differential Revision: https://reviews.freebsd.org/D26432
usr.sbin/freebsd-update/freebsd-update.sh