Skip to content

libcrun_container_create() returns a negative number but no error has been created #1977

@eriksjolund

Description

@eriksjolund

If exit_code > 0, then a negative number is returned here

return -exit_code;

but no error has been created.
I noticed this when reading the source code.

I haven't checked if exit_code > 0 could happen, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions