From 904e4b184fafd877316751ffc28b29e7a95b80bd Mon Sep 17 00:00:00 2001 From: dima Date: Fri, 1 May 2015 17:05:50 +0200 Subject: [PATCH] remove stupid code --- lib/vagrant-libvirt/action/handle_box_image.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/vagrant-libvirt/action/handle_box_image.rb b/lib/vagrant-libvirt/action/handle_box_image.rb index d1dc03c..45dacf0 100644 --- a/lib/vagrant-libvirt/action/handle_box_image.rb +++ b/lib/vagrant-libvirt/action/handle_box_image.rb @@ -123,11 +123,7 @@ module VagrantPlugins :error_message => e.message end - if progress == image_size - return true - else - return false - end + return progress == image_size end end