Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correctly suffix stdout logfile name with 'stdout' string.

  • Loading branch information...
commit d8d67a1f249afd57a83225ceaf41b9bfb4d57a60 1 parent e80346b
@Juanmcuello Juanmcuello authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/goliath/runner.rb
View
3  lib/goliath/runner.rb
@@ -211,7 +211,8 @@ def run
File.umask(0000)
- stdout_log_file = "#{File.dirname(@log_file)}/#{File.basename(@log_file)}_stdout.log"
+ log_extension = File.extname(@log_file)
+ stdout_log_file = "#{File.dirname(@log_file)}/#{File.basename(@log_file, log_extension)}_stdout#{log_extension}"
STDIN.reopen("/dev/null")
STDOUT.reopen(stdout_log_file, "a")

0 comments on commit d8d67a1

Please sign in to comment.
Something went wrong with that request. Please try again.