From d949d4ac324ea77028c9af6556e05a3fb1afaa5e Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 30 Mar 2016 10:59:01 +0100 Subject: [PATCH] Don't timestamp strace logs otherwise it runs as anew container each time since the command changes --- app/coffee/LatexRunner.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/LatexRunner.coffee b/app/coffee/LatexRunner.coffee index 938d4a5..4280d95 100644 --- a/app/coffee/LatexRunner.coffee +++ b/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?