aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn.c')
-rw-r--r--src/spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn.c b/src/spawn.c
index a0bc7a9..fb7a946 100644
--- a/src/spawn.c
+++ b/src/spawn.c
@@ -463,7 +463,7 @@ teco_state_execute_done(teco_machine_main_t *ctx, const teco_string_t *str, GErr
goto gerror;
}
- if (teco_machine_main_eval_colon(ctx))
+ if (teco_machine_main_eval_colon(ctx) > 0)
teco_expressions_push(TECO_SUCCESS);
goto cleanup;