Skip to content

Commit 60e07f2

Browse files
authored
Merge pull request #747 from n0p90/exec-pause-fix
exec: fix containers being wrongly reported as paused
2 parents b30c6fc + aee580f commit 60e07f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcrun/container.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3045,7 +3045,7 @@ libcrun_container_exec (libcrun_context_t *context, const char *id, runtime_spec
30453045
libcrun_error_t *err)
30463046
{
30473047
int container_status, ret;
3048-
bool container_paused;
3048+
bool container_paused = false;
30493049
pid_t pid;
30503050
libcrun_container_status_t status = {};
30513051
const char *state_root = context->state_root;

0 commit comments

Comments
 (0)