From 00b74d2acb02c5277636bae72a81c2e1bc9d6727 Mon Sep 17 00:00:00 2001 From: def Date: Wed, 12 Feb 2020 22:44:36 +0100 Subject: [PATCH] Don't overcomplicate Success = false --- src/engine/client/updater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/client/updater.cpp b/src/engine/client/updater.cpp index e2596b72f..4b72fd04a 100644 --- a/src/engine/client/updater.cpp +++ b/src/engine/client/updater.cpp @@ -203,7 +203,7 @@ bool CUpdater::ReplaceClient() if(system(aBuf)) { dbg_msg("updater", "ERROR: failed to set client executable bit"); - Success &= false; + Success = false; } #endif return Success; @@ -226,7 +226,7 @@ bool CUpdater::ReplaceServer() if (system(aBuf)) { dbg_msg("updater", "ERROR: failed to set server executable bit"); - Success &= false; + Success = false; } #endif return Success;