From nobody Thu Jun 16 21:31:08 2022 X-Original-To: dev-commits-ports-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 60A8383233A; Thu, 16 Jun 2022 21:31:08 +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 4LPFj82DCSz3jRl; Thu, 16 Jun 2022 21:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655415068; 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=wrUfIGTWcwR9sWwqVIcIYLfBpTsdfWNnJnnUliZyUyw=; b=QutGzhrCyeskspRzWw3LyiWK3MW4sJlvWcV6kPZEevnl0vKJ0YYz4Tqj8KqKoVlV17bGYX dPwZlkvR9Z4rN/TO8NiUqYeNrKLRa5B9vPOIX5MCcxyz8s72kzvqynPJ3oHO+i66Qh6Hjs RdGN7TA0qzwnhsuduAkiFhB9m2ATLXPgu1R0OVvCqdVAUiT6+62i4EwnLam1RAu4sWxMvH kXhPFcrG942miiImzVF6glZ9YPljM6fFFKOlq6/aNQ3vziKdpa7SobefqfBCgYTYhLRS5H DKvdJum+o1zuz0jJn/wuLAu7C6KHUAZ49j8h7zCu5yWkdgHjCScQKtAKGEkoww== 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 2C86A131EA; Thu, 16 Jun 2022 21:31:08 +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 25GLV8Nk022845; Thu, 16 Jun 2022 21:31:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25GLV8jp022844; Thu, 16 Jun 2022 21:31:08 GMT (envelope-from git) Date: Thu, 16 Jun 2022 21:31:08 GMT Message-Id: <202206162131.25GLV8jp022844@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bryan Drewery Subject: git: 00ee9c96c68c - main - sysutils/bhyve-rc: Fix writing to /dev/null in rc script List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bdrewery X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00ee9c96c68c854851905e3a7480fbe215efe722 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655415068; 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=wrUfIGTWcwR9sWwqVIcIYLfBpTsdfWNnJnnUliZyUyw=; b=JOwM4yfIn1CH61c+6jtLNYKJTzFbZku/AksX9m12uYj8OTByuksxpg6x+f0O6QpnC74tTI RjYm0OWpoR6ax11Db6dIONhDqEoLmFCbLSmST8B6oAOO3hWEPh+rkM+L/pgifGIzbM0820 WeGQfdrnl1Lbh0Xh3/VvAUYfYwApaEBPiCjt9lBZcGRTmNe8jogwbXWzRVLO7iVm+ctIyS l0lZljFa9QRT+hdpyVb1Ty66bDxxM5jrYfW3M3juP+ownUmOIwdpagNZjxOVPGic7lQuvY J39v7yHMhVAb1yKffjTeu4Bfhyf6bCqkGA5llpMLpwacci8rUR+rXqA7JWsp0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655415068; a=rsa-sha256; cv=none; b=aJVgAyoUvErGIgrKCz+RzkSaHU4HZXX6FCK9fU8Q+H4gXJ9IhP6vPNZ9Cjsq3TN25Vr8VW PQeQF+udjE9Y7l8lVgSfu+5p7NmMf5UTMPPk7tYsnlZSStZM8WosAtowYwZ4UolRe1MIEQ ywPin39IN7qkd6hiXbvMB1vbXl7XowuKrJzVY6JH++Cz8ogKJt+3Dvp560wrHxpMe9rwez aAA4USxLo2ePR3WskNgr7Ec361YAadtjGPVq9D9ykM7nNPZMjA3fHh8d6kCzp9RtOV9Cv2 Nw72H7bpm/W47TCQDrKKV2su4qEIilzw8OCCTsJt3n7iS1gK06UeK9Gs4fzLGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bdrewery: URL: https://cgit.FreeBSD.org/ports/commit/?id=00ee9c96c68c854851905e3a7480fbe215efe722 commit 00ee9c96c68c854851905e3a7480fbe215efe722 Author: Bryan Drewery AuthorDate: 2022-06-16 20:52:33 +0000 Commit: Bryan Drewery CommitDate: 2022-06-16 21:31:05 +0000 sysutils/bhyve-rc: Fix writing to /dev/null in rc script --- sysutils/bhyve-rc/Makefile | 2 +- sysutils/bhyve-rc/files/bhyve.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sysutils/bhyve-rc/Makefile b/sysutils/bhyve-rc/Makefile index f3eddb09f2f4..b17bb053291f 100644 --- a/sysutils/bhyve-rc/Makefile +++ b/sysutils/bhyve-rc/Makefile @@ -1,7 +1,7 @@ # Created by: Michael Gmelin PORTNAME= bhyve-rc -PORTVERSION= 3 +PORTVERSION= 4 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none diff --git a/sysutils/bhyve-rc/files/bhyve.in b/sysutils/bhyve-rc/files/bhyve.in index 32906a7b9229..7686f8cc9bdf 100644 --- a/sysutils/bhyve-rc/files/bhyve.in +++ b/sysutils/bhyve-rc/files/bhyve.in @@ -120,7 +120,7 @@ bhyve_status() bhyve_poll() { echo -n "Waiting for session: ${_session}" - while ${command} has-session -t ${_session} 2>dev/null; do + while ${command} has-session -t ${_session} 2>/dev/null; do sleep 1 done echo @@ -131,7 +131,7 @@ bhyve_stop() if ${command} has-session -t ${_session} 2>/dev/null; then echo "Stopping ${_session}." ${command} kill-session -t ${_session} - while ${command} has-session -t ${_session} 2>dev/null; do + while ${command} has-session -t ${_session} 2>/dev/null; do sleep 1 done fi