diff options
-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 " =" |