makeconf: improve alternate location handling
This commit is contained in:
1 parent
6ec56778e5
commit
25609ec0bb
1 file changed
+1
-1
+1
-1
@@ -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