Date: Mon, 18 Mar 2024 10:02:18 GMT From: Michael Osipov <michaelo@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 85c3ef77cc9f - main - freebsd-update: mark "cron" as fetched as "fetch" itself Message-ID: <202403181002.42IA2ILr007117@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 commit 85c3ef77cc9f7dbf8500c3d16c82d24eb06bfa81 Author: Michael Osipov <michaelo@FreeBSD.org> AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-03-18 10:01:59 +0000 freebsd-update: mark "cron" as fetched as "fetch" itself The change in 33bd05c3187d7b49c80cf1b0132b405c105d0833 was incomplete because it did not mark "cron" as ISFETCHED=1 although it performs the same operations as "install", but less output and does not perform a hard exit. Mark result as such and make "install" know that updates have been fetched. PR: 277699 Approved by: jrm (mentor), emaste, cperciva MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D44356 --- usr.sbin/freebsd-update/freebsd-update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index a3e56127f9eb..88a0a4439e50 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -3457,6 +3457,7 @@ cmd_cron () { [ ${VERBOSELEVEL} = "debug" ]; then mail -s "`hostname` security updates" ${MAILTO} < ${TMPFILE} fi + ISFETCHED=1 rm ${TMPFILE} }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403181002.42IA2ILr007117>