diff --git a/plugins/commands/box/command/list.rb b/plugins/commands/box/command/list.rb index 6bb90b79b..f2a3fed76 100644 --- a/plugins/commands/box/command/list.rb +++ b/plugins/commands/box/command/list.rb @@ -22,7 +22,7 @@ module VagrantPlugins argv = parse_options(opts) return if !argv - boxes = @env.boxes.all.sort + boxes = @env.boxes.all if boxes.empty? return @env.ui.warn(I18n.t("vagrant.commands.box.no_installed_boxes"), prefix: false) end