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

fix shutdown check in t0023 #3969

Merged
merged 1 commit into from
Jun 11, 2017
Merged

fix shutdown check in t0023 #3969

merged 1 commit into from
Jun 11, 2017

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@whyrusleeping whyrusleeping merged commit 4fe7fb8 into master Jun 11, 2017
@whyrusleeping whyrusleeping deleted the fix/shutdown-test branch June 11, 2017 19:35
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Jun 11, 2017
do
go-sleep 100ms
! kill -0 $IPFS_PID 2>/dev/null && return
done
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it will never fail.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its exactly the same code as the other kill check, and that one works

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If kill -0 $IPFS_PID fails, then it returns. which seems right to me

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

Successfully merging this pull request may close these issues.

2 participants