summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 8b8b253d0..757e16199 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -1295,6 +1295,9 @@ static int bt_shell_queue_exec(char *line)
/* Queue if already executing */
if (data.line) {
+ /* Check if prompt is being held then release using the line */
+ if (!bt_shell_release_prompt(line))
+ return 0;
queue_push_tail(data.queue, strdup(line));
return 0;
}