From 5e0f91f5924f32c4bc8d873f6e3ce8bb8a2dfab8 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 5 Jan 2015 16:04:00 -0500 Subject: [PATCH] ENV returns nil, not empty strings --- plugins/pushes/atlas/push.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pushes/atlas/push.rb b/plugins/pushes/atlas/push.rb index 48f6e5b5f..8a892fa2c 100644 --- a/plugins/pushes/atlas/push.rb +++ b/plugins/pushes/atlas/push.rb @@ -23,7 +23,7 @@ module VagrantPlugins # if we're on a system that doesn't support exec, so handle that properly. def execute(uploader) cmd = [] - cmd << "-debug" if !Vagrant.log_level.empty? + cmd << "-debug" if !Vagrant.log_level.nil? cmd << "-vcs" if config.vcs cmd += config.includes.map { |v| ["-include", v] } cmd += config.excludes.map { |v| ["-exclude", v] }