Patched using fix_makeconf.patch by psycho

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@766 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-09-16 18:15:56 +00:00
parent 30fc61b0a2
commit a226903e46

View File

@@ -121,6 +121,7 @@ int main(int argc, char** argv, char** envp) {
return 1;
}
chdir(ZNC.GetCurPath().c_str());
if (execve(*argv, args, envp) == -1) {
CUtils::PrintError("Unable to launch znc [" + CString(strerror(errno)) + "]");
return 1;