aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bhyve-rc/files/bhyve.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bhyve-rc/files/bhyve.in')
-rw-r--r--sysutils/bhyve-rc/files/bhyve.in4
1 files changed, 2 insertions, 2 deletions
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