mirror of
https://github.com/anope/anope.git
synced 2026-06-30 13:26:38 +02:00
Fix an inverted condition.
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ int main(int ac, char **av, char **envp)
|
||||
|
||||
if (Anope::Restarting)
|
||||
{
|
||||
if (chdir(BinaryDir.c_str()) != 0)
|
||||
if (chdir(BinaryDir.c_str()) == 0)
|
||||
{
|
||||
Anope::string sbin = "./" + Anope::ServicesBin;
|
||||
av[0] = const_cast<char *>(sbin.c_str());
|
||||
|
||||
Reference in New Issue
Block a user