From nobody Sun Oct 01 17:31:14 2023 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 4RzB2V3xMHz4vb2g; Sun, 1 Oct 2023 17:31:14 +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 4RzB2V3Vf9z3ZDM; Sun, 1 Oct 2023 17:31:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696181474; 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=DCYA5XsK93v43A5dz5Tz5ow1zWk7lyl6Ge0DMR2XAUs=; b=sShMxvAgYnaCRMprX9KxZHLEOJmGnnp/Vi16bHba7DHgVaODT7X0AQilYP3GicJSXaGJNd ce/N3o5bkumfGhh27z5GmZ0rmM1dKKfxweBgtwXfEi3ZRxL5KapsPUE/DXhKHVQk/LziOR xj+TipiOdePxcX2lDzRSbMzQU7+tM6J5bc5y3ag6TvQrVVVo2wjITrgvL9RHRgjHwtfH0h klSh/KDtxTRczrOoPA6XMaTgZd2og3HU2JKp/SC2E4+c9hh6zL2TGF18/UUIBRh/VkewrK dlyMChhMQ56XCHZo6t4rEy56bba0adeqvm4prKjlSwfmICmquhGa8/ktlx50qA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696181474; a=rsa-sha256; cv=none; b=Zc+hIZQsve7u15DfBgt181Wd3YXGagbUxFRbGj3lzXJPO+fho1GE8BphOpynYI1ue3ExTm luISUK9Y8wS3x/QSOYN3n5uFKcRvqIi0up31haUL8PH+zD0EJyoCWyoTypw/Qv++Zp0/GM O6zZw9XYuL2DgY0cUx0gkCdWOm2Iunx/eUCWmz8pJRGJ6Gbjl1ORNz/0kYWy3TCF0CitR8 2BtOBROoGdAwgNsn89Wair9hkb0+MIZowxC6ae6KZBh0/jxJAGyWpxUeiv60IL+dMPIbgK WBPg0X2jYyk2QUapSVcJBR+NQ2vk5MAQcKVro1HaziKXIv3frMTbXxHTxfklKA== 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=1696181474; 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=DCYA5XsK93v43A5dz5Tz5ow1zWk7lyl6Ge0DMR2XAUs=; b=t6TrZtK0n7CAqGummjTnsbuWkleix485ubSYlfGyIDmUANra9f1rVvJk4l0820sp1Edntw 1llMA649teD+Y9MALtTLBwfQFPmjBxrJqRosWvi5dnOCazunwsjd61NT3LVd6j4p+fg0Uc 2XOQd3Y6b0UK57EFpDvuN/Bu3tFBEMEfm+xTnoKket9HMyHVi3D6a1LELyVcDVG+/TzJn9 SVV0HmmhtAJ7sIZwip/lYWAxBcQGMAMSoXiTRMK0s2gQpP0zz+tXlBHBeZmCJU8c0DfO0K YCsufF8plgZ77dxRU4tI8i/nvH02FtUhByAgsSUFTK4t14QmahzGuUAlpdaXXQ== 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 4RzB2V2bCGzdFJ; Sun, 1 Oct 2023 17:31:14 +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 391HVE6L000746; Sun, 1 Oct 2023 17:31:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 391HVEer000743; Sun, 1 Oct 2023 17:31:14 GMT (envelope-from git) Date: Sun, 1 Oct 2023 17:31:14 GMT Message-Id: <202310011731.391HVEer000743@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 05f988e987f4 - stable/12 - freebsd-update: Allow for upper/lowercase y/n 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 05f988e987f42a182fdda64e83bd1cb7aba59109 Auto-Submitted: auto-generated The branch stable/12 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=05f988e987f42a182fdda64e83bd1cb7aba59109 commit 05f988e987f42a182fdda64e83bd1cb7aba59109 Author: Juraj Lutter AuthorDate: 2023-09-17 16:15:27 +0000 Commit: Ed Maste CommitDate: 2023-10-01 17:30:58 +0000 freebsd-update: Allow for upper/lowercase y/n Allow for upper/lowercase y/n in "Does this look right?" question. Reviewed by: emaste Approved by: emaste Differential revision: https://reviews.freebsd.org/D40434 (cherry picked from commit 39f4633b3d2354c01a290d5f422dce7874061769) --- usr.sbin/freebsd-update/freebsd-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index a01e81d7be49..5a523775dbbb 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -1204,10 +1204,10 @@ fetch_progress () { continuep () { while read -p "Does this look reasonable (y/n)? " CONTINUE; do case "${CONTINUE}" in - y*) + [yY]*) return 0 ;; - n*) + [nN]*) return 1 ;; esac