mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
makeconf: improve alternate location handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user