makeconf: improve alternate location handling

This commit is contained in:
J-P Nurmi committed 2014-09-07 22:57:12 +02:00
1 parent 6ec56778e5
commit 25609ec0bb
1 file changed
+1 -1
+1 -1
View File
@@ -802,7 +802,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
}
}
if (!bFileOK) {
CUtils::GetInput("Please specify an alternate location (or \"stdout\" for displaying the config)", m_sConfigFile, m_sConfigFile);
while (!CUtils::GetInput("Please specify an alternate location", m_sConfigFile, "", "or \"stdout\" for displaying the config"));
if (m_sConfigFile.Equals("stdout"))
bFileOK = true;
else