Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shared memory identifier could be zero #7

Open
azmagillian opened this issue Jan 2, 2020 · 1 comment
Open

shared memory identifier could be zero #7

azmagillian opened this issue Jan 2, 2020 · 1 comment

Comments

@azmagillian
Copy link

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 {

@ghetzel
Copy link
Owner

ghetzel commented Jan 6, 2020

Absolutely! A PR would be fantastic, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants