mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 10:33:09 +01:00
Continue the parent cmdq after sourcing a file.
This commit is contained in:
parent
e85f764f23
commit
e9cef8bf30
@ -98,10 +98,11 @@ cmd_source_file_done(struct cmd_q *cmdq1)
|
|||||||
cmdq_free(cmdq1);
|
cmdq_free(cmdq1);
|
||||||
|
|
||||||
cfg_references--;
|
cfg_references--;
|
||||||
if (cmdq_free(cmdq) || cfg_references != 0)
|
|
||||||
|
if (cmdq_free(cmdq))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (cfg_references == 0)
|
||||||
cmd_source_file_show(cmdq);
|
cmd_source_file_show(cmdq);
|
||||||
|
|
||||||
cmdq_continue(cmdq);
|
cmdq_continue(cmdq);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user