Skip to content
Snippets Groups Projects
Commit 8bba23cd authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed bug that caused processInqPromt() to abort cdo when no processes where created yet

parent b589e29d
No related branches found
No related tags found
No related merge requests found
......@@ -403,8 +403,12 @@ const char *
processInqPrompt(void)
{
ProcessType &process = processSelf();
return process.inqPrompt();
if (g_processManager.processNums() > 0)
{
ProcessType &process = processSelf();
return process.inqPrompt();
}
return Cdo::progname;
}
extern "C"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment