diff options
| author | Neel Natu <neel@FreeBSD.org> | 2014-10-14 18:34:15 +0000 |
|---|---|---|
| committer | Neel Natu <neel@FreeBSD.org> | 2014-10-14 18:34:15 +0000 |
| commit | e5db20c0c8c1d9db4e37f4800e5bb42673a63989 (patch) | |
| tree | 6642f26a30cce8e6d1b69588a0d03d8449936b7e /share/examples | |
| parent | e4cd478e9f1adab81e349179ac7e89b2f438423a (diff) | |
Notes
Diffstat (limited to 'share/examples')
| -rwxr-xr-x | share/examples/bhyve/vmrun.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh index f7bb2a01a9d54..93f3c94d9539f 100755 --- a/share/examples/bhyve/vmrun.sh +++ b/share/examples/bhyve/vmrun.sh @@ -152,7 +152,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 |
