From nobody Tue Apr 16 20:13:29 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 4VJwGL1WXVz5H0nF; Tue, 16 Apr 2024 20:13:30 +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 4VJwGL098yz4vYc; Tue, 16 Apr 2024 20:13:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298410; 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=HNaIBM0qOHDrkdLIxZKofSjQ+AKMYFXjs/NhSdVAwyk=; b=Po4RTn56Zfq1Op04F48gVjBcbjdHCdWB2Pof2zebIiM17Gi5qq9O5QkK55Q0UAds4jljzb 4wcBgNV3QDf5RJDpKXC+JxvEN4PCif+VdmGiKJpnKJgyWS96Jgd2HCRiu239bvQKon1ZJH bIxvW36v1+UKGwit4Wetj7nMm8/Q3h+XU6VJNhLzQJ/23vcFeUeYeBhwM1FEFHxH/DKp2F rVy/71COT6dLIg1+qx6PDmDbo8NcJWM15z9xyXUFJEdvopSOwZrMlKHR/IdLP5Gpu75gxh Pfi2dJlImf3eDrFloNlDioEP6wPR9wtFsi4qCRyP34IQFU0TocrGKO3pQxWpAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713298410; a=rsa-sha256; cv=none; b=IeIysUpuPZjtxJDEOQzPpIkKRTfGoEZLLE43Ih2fscKv+IM+mAcjla4Fs3ip9l2CcuISEj HLd7YrWKxB5AwVSDQFk748/urPxEUUBxp3iJQA8fbbz+mO1J6+EUFovHeIBx0idJIvGbqf 1Lkwpg1PhbYp5C+iPheiFn1DVgdwN6US+RC6RSZ7ewgqjCS9lBSj9N+dCl2HstWI7qvh9D n9i92HksshL59U/B46g/3zmjmrBpd0uUgV0seeuXpNRaFUo9cQeKFkBvoIuMKNd0ky6FvT vwKan5aWD+mLTX6EgTNXEGexjVlQ9AO6hsmVUijIgbMnvuH5JV99TcKjGqaMxg== 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=1713298410; 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=HNaIBM0qOHDrkdLIxZKofSjQ+AKMYFXjs/NhSdVAwyk=; b=X+0VyrXE96byqb0AESkOC0fwweV65MQwDvdeyX4PwFm+C9XwsndDdaz0vZR3ozJIJqlgbo 3IM9iR2HmQCUKzZb4TJbuT0bG1SERzqWoODolgDtq67eWxik49LRBstteyOI9fjuJgfEfM Lb9PjtlQrhutWibWXlzZl9hUoMwU9ukBK+yprZJeMSBuGCgPNp9rKLKwoyas/vAH9FXYhz 8UxoqCsjOUttORzDO27dzyl75NuAFv+9FRi8QSW88K9D62Pvlvu02Fm+nLM4bsMIhgnSZB jZRv2NCJRufFACfdQUIu70vqMBsPHHFBZYpyHaWZ15vYaJIlJXS5qX91VbR85A== 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 4VJwGK6sHHzwhg; Tue, 16 Apr 2024 20:13:29 +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 43GKDT6g039702; Tue, 16 Apr 2024 20:13:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43GKDTm4039699; Tue, 16 Apr 2024 20:13:29 GMT (envelope-from git) Date: Tue, 16 Apr 2024 20:13:29 GMT Message-Id: <202404162013.43GKDTm4039699@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 64355a9cb3dc - stable/14 - loader/lua: Remove workaround for command_error 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 64355a9cb3dca2157062c279aa60cab4e19d4366 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=64355a9cb3dca2157062c279aa60cab4e19d4366 commit 64355a9cb3dca2157062c279aa60cab4e19d4366 Author: Warner Losh AuthorDate: 2024-02-29 17:58:59 +0000 Commit: Warner Losh CommitDate: 2024-04-16 19:54:29 +0000 loader/lua: Remove workaround for command_error loader.command_error was available prior to stable/12 branching. No need to check if it is available or not. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44144 (cherry picked from commit 552f3072af54820cf1805f712e2567bc1b7f046d) --- stand/lua/config.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/stand/lua/config.lua b/stand/lua/config.lua index 86f5ef6174a2..ba6144364247 100644 --- a/stand/lua/config.lua +++ b/stand/lua/config.lua @@ -407,12 +407,7 @@ local function loadModule(mod, silent) end if cli_execute_unparsed(str) ~= 0 then - -- XXX Temporary shim: don't break the boot if - -- loader hadn't been recompiled with this - -- function exposed. - if loader.command_error then - print(loader.command_error()) - end + print(loader.command_error()) if not silent then print("failed!") end