Diff between f09f33199858d103489c7064b7488209d02b9ce8 and 7d59391bb783c60f15803f97860094a6817894b2

Changed Files

File Additions Deletions Status
src/shared/shell.c +6 -0 modified

Full Patch

diff --git a/src/shared/shell.c b/src/shared/shell.c
index 3e5959f..6b4f7a7 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -1560,6 +1560,12 @@ void bt_shell_noninteractive_quit(int status)
 		return;
 	}
 
+	/* Ignore EINPROGRESS as it is meant for commands that need to stay
+	 * running.
+	 */
+	if (status == -EINPROGRESS)
+		return;
+
 	bt_shell_quit(status);
 }