AutoExecConfig now logs an error when it cannot create cfg (bug 5465, r=asherkin).

This commit is contained in:
Drifter 2012-11-24 09:53:44 -05:00
parent 2175357e72
commit 7619d0d7ff

View File

@ -465,6 +465,11 @@ bool SM_ExecuteConfig(CPlugin *pl, AutoConfig *cfg, bool can_create)
can_create = false;
fclose(fp);
}
else
{
g_Logger.LogError("Failed to auto generate config for %s, make sure the directory has write permission.", pl->GetFilename());
return can_create;
}
}
}