summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshare/examples/bhyve/vmrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh
index 72193de..b2f2195 100755
--- a/share/examples/bhyve/vmrun.sh
+++ b/share/examples/bhyve/vmrun.sh
@@ -177,7 +177,7 @@ make_and_check_diskdev()
{
local virtio_diskdev="$1"
# Create the virtio diskdev file if needed
- if [ ! -f ${virtio_diskdev} ]; then
+ if [ ! -e ${virtio_diskdev} ]; then
echo "virtio disk device file \"${virtio_diskdev}\" does not exist."
echo "Creating it ..."
truncate -s 8G ${virtio_diskdev} > /dev/null
OpenPOWER on IntegriCloud