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

Update main.c #26

Merged
merged 1 commit into from Jan 6, 2015
Merged

Update main.c #26

merged 1 commit into from Jan 6, 2015

Conversation

tmcolby
Copy link
Contributor

@tmcolby tmcolby commented Jan 5, 2015

Added check at top of main() to test if user is running as sudo. Print message and exit if not run as sudo.

Added check at top of main() to test if user is running as sudo.  Print message and exit if not run as sudo.
@popcornmix
Copy link
Contributor

Looks reasonable. @ghollingworth ?

@ghollingworth
Copy link
Contributor

Thanks for doing that, makes it much easier for me!

Gordon

ghollingworth added a commit that referenced this pull request Jan 6, 2015
@ghollingworth ghollingworth merged commit 8f58ab3 into raspberrypi:master Jan 6, 2015
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.

None yet

3 participants