Skip to content

Commit

Permalink
ignore delete errors on force
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks committed Oct 7, 2013
1 parent 97b0420 commit 87fc9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt-from
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for name in $*; do
echo

if [ "$force" = 1 ]; then
virsh vol-delete ${name}.img ${base_pool}
virsh vol-delete ${name}.img ${base_pool} > /dev/null 2>&1
fi

echo "Creating volume"
Expand Down

0 comments on commit 87fc9a0

Please sign in to comment.