mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
Don't overcomplicate Success = false
This commit is contained in:
parent
5929517941
commit
00b74d2acb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue