Skip to content

shared memory identifier could be zero #7

@azmagillian

Description

@azmagillian

Hi,
As far as i understand shared memory identifier could be zero so i think this check should change and check for a value of -1 to return "Cannot read shared memory segment: SHMID not set"
I could do a pull request if you agree!

if self.Id == 0 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions