From nobody Sun Sep 24 15:49:56 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 4Rtr6r5kMBz4v7Py; Sun, 24 Sep 2023 15:49:56 +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 4Rtr6r566Mz3L90; Sun, 24 Sep 2023 15:49:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695570596; 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=4w0Z3jXsAfU5IpcKO+9FriD/oP7Gxy/n1tLGEEeD7Lg=; b=t0mDV2YFR3FqwtajtuDtUPK+053PxaCxFyijJ7oGs3KPtwzD1bSdvZLBFaDk1W9m5jQf18 ha/xg4i3TQ9cAUEsER0e0vv8DvAlbxRhLs++kG7tTzgKeh9RzFSx+f3h371zrzde9OUp8q tabcV4Og3YyL0UDoDRppAXSDWvD4rOgEEasMWRAuEf4Vkv0JTSspibwr4hoJtrfszunXWB FjjoNJZajrUtO73HmYVVpS+Fk4z0BjpKZybx8Eiu3k82xQSEivBv6rgQ+FrQCgIMPdUdoX UwOwBMuBxhtRMqetPAZRUZzdQcVO6MEX+LNXUEXA/7jbn0yKBMHShn4VNThB6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695570596; a=rsa-sha256; cv=none; b=yrrftrsg/KVYEAGp7FKQ/e2UDhZvPjmzXzAbhDmadALjEOrweaLZgCKSO7U9WRLbSS+ByC RblFu+7RDcoD0gOgL6ex5PD2x3QtZWMbGY56PIplpkH2uYzbojL6t4zawJziHFt21gJPlL 6J9LsSrlk9DvZ7ntXT0GKzmv7mBj2h2ipliqqlJ5hkHcj2hT9WPIB2Lm6TQ8dVGuaT4647 x+gjAJgWVV2Yp2cWzurNf9LGjJ3PpGt+ofteS4sO6zw4SGfOP6pw2gcg0NhamfQwKl3cQh vsBXz8ebmP0aF0IqIGmSeERtqDJvC3wD1G9C0tQlP6W55U+J4DoawIq59DbwVQ== 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=1695570596; 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=4w0Z3jXsAfU5IpcKO+9FriD/oP7Gxy/n1tLGEEeD7Lg=; b=l8pSt8hP5AtrGf8FFeyRt4Z5TdeaT8GJzXRMU2VQFA5JZywbUpBMoDS4Y4xNwKgIBa0oKZ uEjno10dqiFHF6+YMYd1tJgmxhXwvy+OWS3OdZXDYrFt+RmdyK11Yhd8ML5zvOcTfzCd9S ypOSKuRQr0sgRKiQcN/abjoz9gDjK2I+KG1Tx62bqUU5wK2G0LCksNdLdAtrvzgz5EdEsh 1frXAvfJE5OumFHyRGGnZZ4csQ6L3f4K5OJKOxDZCN32cvmsqgiqiREPa8MBXKTSfABdIe U40AkabjH9GcVKmYZ08TJBNei+bsbds8yVeV3S8QgXVpGPbyJhTRonL3eC94sg== 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 4Rtr6r49hHzsd5; Sun, 24 Sep 2023 15:49:56 +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 38OFnu7W028796; Sun, 24 Sep 2023 15:49:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38OFnuce028793; Sun, 24 Sep 2023 15:49:56 GMT (envelope-from git) Date: Sun, 24 Sep 2023 15:49:56 GMT Message-Id: <202309241549.38OFnuce028793@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: 7af7a0d1b14e - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 7af7a0d1b14e669277f704eac0b8d3f82d327a9b Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=7af7a0d1b14e669277f704eac0b8d3f82d327a9b commit 7af7a0d1b14e669277f704eac0b8d3f82d327a9b Author: наб AuthorDate: 2022-05-30 23:18:12 +0000 Commit: Ed Maste CommitDate: 2023-09-24 15:48:34 +0000 rc.d/hostid: remove useless cat We've already read it and validated it ‒ re-reading is wasteful PR: 264376 (cherry picked from commit 11bd40d04af59daa7ae7feea0518081a35f07053) --- 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 b28e0fc9240e..1d6337e1e28c 100755 --- a/libexec/rc/rc.d/hostid +++ b/libexec/rc/rc.d/hostid @@ -137,7 +137,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