Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 81c4578

Browse files
committed
Let dd command fail harmlessly
1 parent 72131ce commit 81c4578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Vagrant.configure("2") do |config|
5656
5757
# Adapted from bento's minimize.sh. This writes zeroes to the disk so that the empty space is
5858
# easily compressed.
59-
dd if=/dev/zero of=/EMPTY bs=1M
59+
dd if=/dev/zero of=/EMPTY bs=1M || true
6060
rm -f /EMPTY
6161
sync
6262

0 commit comments

Comments
 (0)