Launch znc if user answers 'yes'

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@477 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-09 04:39:49 +00:00
parent 90062c80fa
commit 94630d2b74
2 changed files with 9 additions and 3 deletions
+3 -2
View File
@@ -107,8 +107,9 @@ int main(int argc, char** argv) {
if (bMakeConf) {
CZNC* pZNC = CZNC::New();
pZNC->InitDirs("");
pZNC->WriteNewConfig(sConfig);
return 0;
if (!pZNC->WriteNewConfig(sConfig)) {
return 0;
}
}
#ifdef HAVE_LIBSSL