Continue the parent cmdq after sourcing a file.

pull/1/head
Nicholas Marriott 2013-03-25 10:05:58 +00:00
parent e85f764f23
commit e9cef8bf30
1 changed files with 4 additions and 3 deletions

View File

@ -98,10 +98,11 @@ cmd_source_file_done(struct cmd_q *cmdq1)
cmdq_free(cmdq1);
cfg_references--;
if (cmdq_free(cmdq) || cfg_references != 0)
if (cmdq_free(cmdq))
return;
cmd_source_file_show(cmdq);
if (cfg_references == 0)
cmd_source_file_show(cmdq);
cmdq_continue(cmdq);
}