aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn.c')
-rw-r--r--src/spawn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/spawn.c b/src/spawn.c
index 92b8436..59a286f 100644
--- a/src/spawn.c
+++ b/src/spawn.c
@@ -236,6 +236,7 @@ teco_state_execute_done(teco_machine_main_t *ctx, const teco_string_t *str, GErr
"Command line must not contain null-bytes");
goto gerror;
}
+ g_assert(str->data != NULL);
argv = teco_parse_shell_command_line(str->data, error);
if (!argv)