mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28: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))
|
if(system(aBuf))
|
||||||
{
|
{
|
||||||
dbg_msg("updater", "ERROR: failed to set client executable bit");
|
dbg_msg("updater", "ERROR: failed to set client executable bit");
|
||||||
Success &= false;
|
Success = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Success;
|
return Success;
|
||||||
|
@ -226,7 +226,7 @@ bool CUpdater::ReplaceServer()
|
||||||
if (system(aBuf))
|
if (system(aBuf))
|
||||||
{
|
{
|
||||||
dbg_msg("updater", "ERROR: failed to set server executable bit");
|
dbg_msg("updater", "ERROR: failed to set server executable bit");
|
||||||
Success &= false;
|
Success = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Success;
|
return Success;
|
||||||
|
|
Loading…
Reference in a new issue