diff options
author | elijah <elijah@riseup.net> | 2016-02-24 13:12:00 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-02-24 13:12:00 -0800 |
commit | dc615fb5ff9a754cf690ebdcd5c1f7593e3fc748 (patch) | |
tree | 92fa8cf11160e412ef043f0937631fe119125f2d /lib | |
parent | 355244d9a4b74360de67afaa99aba47cf6d9a3b3 (diff) |
re-enable @log Leapfile configuration option
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/bootstrap.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/leap_cli/bootstrap.rb b/lib/leap_cli/bootstrap.rb index c7df1a9..5492591 100644 --- a/lib/leap_cli/bootstrap.rb +++ b/lib/leap_cli/bootstrap.rb @@ -94,6 +94,9 @@ module LeapCli if !Path.platform || !File.directory?(Path.platform) bail! { log :missing, "platform directory '#{Path.platform}'" } end + if LeapCli.log_file.nil? && LeapCli.leapfile.log + LeapCli.log_file = LeapCli.leapfile.log + end elsif !leapfile_optional?(argv) puts puts " =" |