From nobody Mon Apr 01 19:18:57 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V7gmK4SWyz5Gg1t; Mon, 1 Apr 2024 19:18:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7gmK3wSJz4s8p; Mon, 1 Apr 2024 19:18:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711999137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RoW4YY9YDyPbmjjnwsqUZg9mCtkeIdjzSi4RhNI05Wk=; b=sQLyMJvXaEcec8CvMVf9bG3X1RCn+YpB3vg7VcfGX1npqv9z0qHVonjdycK1CzVoGtkqOT ND8TNV+fiODcyekPpNuMwneuHmQ+SKFkMEcgDykFT+CNPcTdXNPzrMTGkr8AfoBBFg09eM x8iHF8PNJ7hCgMJdu1Tl1kNY0rFmf8yHRfpCd3yJo8fnDra8gVj0eIXlACmlj3MK0EhdNX z2z2jsT6SyMYc7vv9hrI+IMKDlGGgMPqnZoLwsU1wORKvJv3MIUapF6/lsgamt7iBPxici Tqe6PocR2SK8kxx4i+3EdFD/B1+8crC1kDcI72AilP4EAemHB5tO2CWmiPE49g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711999137; a=rsa-sha256; cv=none; b=VSrIRvpTWqCTS+hEdQ9W6Hjh0uJll1+49Fdt8szy77CyhazlNjJSIeBrVezbx/5U/JdbKT VZdKGS2xuRkte7U9n7Eg6/yC+9VrvJzMafOZDGO9EN2jmykPCq8aUiEd2s0lUkVMRGB0gt +DkiTnVcmMC07rG6RGNvJYRY0wFkd5MzIlREXqgd5txMIS492Ou8EF01MHsn7oBjCjFflb A/AkHhwx58hl6ymK9ImGFoOPMZbgAJSZgdnohkoAiE6A2U9FS3AHJualsHzYVUCpm8CA2E jqxUBSVTgsITmw6On6hQ6z61MpCjkPm5DM+rvbVmWrEkzWwTt44MBnIrI/M+tA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711999137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RoW4YY9YDyPbmjjnwsqUZg9mCtkeIdjzSi4RhNI05Wk=; b=HufT/R9ItwHE/1bJjIXaNyAGUNbnPPeGaPU+yfmpGmCzkAMYp/n6Tk5BCGVIIl+fdlP8/j y7wbih25GLPbTmd7EwUJc3xBSyMzeTNK6Xp7nJMr/vy7ABKbRAr2MgNUjBNgmjDmrfkDbx 12sab2n+1vDhusjO1fkHzAaGmUAHT5FZ8CKkAFcFl6UaEMZc+B6dRy90klp4rJEh6e0jIl yuJ9H0tpz2SQselaLms8C5NE0AlIqA8Jcv47Ajm4Sl4i/5SCrT10ueAuZpK9khXedF1W3f G0QSsOo9JDTjSnKf08rj1EL/hK1N3V2zEfi9GizfAXt8tlRThfUovt3iis93wA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V7gmK3NwPzHrm; Mon, 1 Apr 2024 19:18:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 431JIvEN027656; Mon, 1 Apr 2024 19:18:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 431JIvUO027653; Mon, 1 Apr 2024 19:18:57 GMT (envelope-from git) Date: Mon, 1 Apr 2024 19:18:57 GMT Message-Id: <202404011918.431JIvUO027653@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Osipov Subject: git: e54b9d17f82d - stable/14 - freebsd-update: mark "cron" as fetched as "fetch" itself List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: michaelo X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e54b9d17f82d5cb5efd84826706205442e6352cd Auto-Submitted: auto-generated The branch stable/14 has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=e54b9d17f82d5cb5efd84826706205442e6352cd commit e54b9d17f82d5cb5efd84826706205442e6352cd Author: Michael Osipov AuthorDate: 2024-03-14 16:39:47 +0000 Commit: Michael Osipov CommitDate: 2024-04-01 19:18:15 +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 551d40418240..9af6e8d711ed 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} }