From nobody Sat Jun 18 01:28:28 2022 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 236DA851DE0; Sat, 18 Jun 2022 01:28:29 +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 4LPywY0WQZz4XR3; Sat, 18 Jun 2022 01:28:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655515709; 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=HardJB+D0lKymxH8SG2tIewqb1yCKzPxgziA2SUr8rY=; b=vJsnOGro83ONXIF69zEENKUnUQ7vwxkQGyB6A6YNDwKj355jhpKlPmmaCZbsOpM/V6PsbJ mS8fvsOo25hWKHtgrTcuJwowgHeHsiVv/HDIvTyIA+BtNnuIu9ehCUnnCIB2SaAi7+qhiw qAmrJeSEcXTnaNQzgQwltE492toAmOGIO7N1xSqmKoh+DuxuVfb/7SL+98nUsZGLU9rX/n XH2nqZxQ2OS0TR0PXUTPddxcs0Lf3iAJKCqfsj3FALT0C3+bf+NLuZBnuZ4fZXX04RqtoL adKgdv2ezf2rmRzdC8RJ2Ss60ah99OIQB9tYPtRO/H6YpM0xdeNig40JrWgYow== 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 E644D2C1A; Sat, 18 Jun 2022 01:28:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25I1SSRO093335; Sat, 18 Jun 2022 01:28:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25I1SSVx093334; Sat, 18 Jun 2022 01:28:28 GMT (envelope-from git) Date: Sat, 18 Jun 2022 01:28:28 GMT Message-Id: <202206180128.25I1SSVx093334@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 11bd40d04af5 - main - rc.d/hostid: remove useless cat 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/main X-Git-Reftype: branch X-Git-Commit: 11bd40d04af59daa7ae7feea0518081a35f07053 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655515709; 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=HardJB+D0lKymxH8SG2tIewqb1yCKzPxgziA2SUr8rY=; b=B0NySqaMOieJJfSNrn72djRT7u2kppd2rxqMkv5mljT12C5U0uc5IbsEwc9tqeI3UuNv+L iQssSsCJwMMkpgoh8PJgJYLNE+f2fPw1XrqTSuRG4vIBvZZFCargDd9nsvdQegGp5vOzdN OKVOhjsa1DRia6JSYlX5RwPLiJbppN0vkvtn1WcM0poiqNbBy/OQPPJbsCNa11/s/mnDDG U1Hh6Z6rxEOsDFoWuwzRxkyWds9LhSsk2McMP0JPdvHZ0pjPk5o7q7ZdsDThOZ7KooYsar 4Z0kOfs/8KqeW6zLOziCOKXQ10Y9gnP/G4/uHFYNN1v4p7lup2tT1Xg8jfgBkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655515709; a=rsa-sha256; cv=none; b=eFZTmGOjHgVl1Otl07fGOpMZPzBTScBtPyaoPPu68OZ9N3ftK2l3FHisBFo6bij9/sNCKq /zE3nOijwzgoMwDipih0CCAAw7vKhVK09G07j5lMBFfdwB/9yqMBwKKR+JTvc8MHRHuof6 gMKpgYZp8rSBsjr5ySJq19GWayZ8OQXDE7veWfgP0suhNrz1tvc80dA/UCdIKklRdkmIWc gg5Xfb/z3OTNOhQYb19iq08KDz2V/jhku+2O9pl/HRmyN7gix7pdUcHoxfl5ybeQoM6hcj EXJSyq/+vuuBqZNCFBMR1keNWzsGqwalcv6QcL1wLM78buYpFj1OYIcggtTFnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=11bd40d04af59daa7ae7feea0518081a35f07053 commit 11bd40d04af59daa7ae7feea0518081a35f07053 Author: наб AuthorDate: 2022-05-30 23:18:12 +0000 Commit: Ed Maste CommitDate: 2022-06-18 01:27:19 +0000 rc.d/hostid: remove useless cat We've already read it and validated it ‒ re-reading is wasteful PR: 264376 --- libexec/rc/rc.d/hostid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/hostid b/libexec/rc/rc.d/hostid index 01697a1d1e11..39a0f4acb498 100755 --- a/libexec/rc/rc.d/hostid +++ b/libexec/rc/rc.d/hostid @@ -138,7 +138,7 @@ hostid_start() if [ -r ${hostid_file} ]; then read saved_hostid < ${hostid_file} if valid_hostid ${saved_hostid}; then - hostid_set `cat ${hostid_file}` + hostid_set ${saved_hostid} exit 0 fi fi