diff --git a/src/conmon.c b/src/conmon.c index 0abbd17d..24a7da18 100644 --- a/src/conmon.c +++ b/src/conmon.c @@ -368,6 +368,7 @@ int main(int argc, char *argv[]) } pexitf("Failed to wait for `runtime %s`", opt_exec ? "exec" : "create"); } + create_pid = -1; } /* For exec operations, a non-zero runtime exit status reflects the exit status of the exec'd command,