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

Already on GitHub? Sign in to your account

Reading empty lines from /proc/stat causes panic #1

merged 1 commit into from Feb 12, 2013


None yet
2 participants

eaigner commented Feb 10, 2013

When reading /proc/stat empty lines would cause a panic. Fixed by using strings.HasPrefix instead.

@mkocher mkocher added a commit that referenced this pull request Feb 12, 2013

@mkocher mkocher Merge pull request #1 from eaigner/master
Reading empty lines from /proc/stat causes panic

@mkocher mkocher merged commit ca9b85a into cloudfoundry:master Feb 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment