Просмотр исходного кода

Don't timestamp strace logs otherwise it runs as anew container each time since the command changes

James Allen 10 лет назад
Родитель
Сommit
66fa6a3e2e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/clsi/app/coffee/LatexRunner.coffee

+ 1 - 1
services/clsi/app/coffee/LatexRunner.coffee

@@ -28,7 +28,7 @@ module.exports = LatexRunner =
 			return callback new Error("unknown compiler: #{compiler}")
 		
 		if Settings.clsi?.strace
-			command = ["strace", "-o", "strace-#{Date.now()}", "-ff"].concat(command)
+			command = ["strace", "-o", "strace", "-ff"].concat(command)
 
 		CommandRunner.run project_id, command, directory, image, timeout, (error, output) ->
 			return callback(error) if error?