aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/util.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb
index 19930d2..43ff6f2 100644
--- a/lib/leap_cli/util.rb
+++ b/lib/leap_cli/util.rb
@@ -30,10 +30,7 @@ module LeapCli
#
def bail!(*message)
if block_given?
- level = LeapCli.log_level
- LeapCli.set_log_level(3)
yield
- LeapCli.set_log_level(level)
elsif message
log 0, *message
end