From ca72246eff6b8f27655110afd9d82530e02e2117 Mon Sep 17 00:00:00 2001 From: icedream Date: Mon, 12 Jan 2015 18:29:13 +0100 Subject: [PATCH] Fix "--log=false" switch. --- src/updater/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater/Program.cs b/src/updater/Program.cs index d354ede..b784ddd 100644 --- a/src/updater/Program.cs +++ b/src/updater/Program.cs @@ -233,7 +233,7 @@ namespace CitizenMP.Server.Installer var slnPath = sourceDirectory.EnumerateFiles("*.sln", SearchOption.TopDirectoryOnly) .First().FullName; outputDirectory.Create(); - var logpath = Path.Combine(outputDirectory.FullName, "build.log"); + var logpath = options.WriteLogFile ? Path.Combine(outputDirectory.FullName, "build.log") : null; if (!Build(slnPath, new Dictionary { {"Configuration", "Release"},