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

rename ROOT to root #6

Closed
wants to merge 1 commit into from
Closed

rename ROOT to root #6

wants to merge 1 commit into from

Conversation

yoosif0
Copy link
Contributor

@yoosif0 yoosif0 commented Oct 29, 2024

No description provided.

@@ -876,7 +876,7 @@ bool check_privileges()
int i = 0;
while (environ[i] != NULL)
{
if (strncmp("USER=ROOT", environ[i], 9) == 0)
if (strncmp("USER=root", environ[i], 9) == 0)

Choose a reason for hiding this comment

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

No description provided.

Copy link
Owner

Choose a reason for hiding this comment

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

Can you please explain why ROOT instead of root. I executed sudo printenv and it shows USER=root.

Copy link
Owner

Choose a reason for hiding this comment

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

I can see how stupid I am. Thank you.

@jarusll
Copy link
Owner

jarusll commented Jan 12, 2025

Merged using patch

@jarusll jarusll closed this Jan 12, 2025
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.

3 participants