Skip to content

Conversation

@Hugo1380
Copy link
Contributor

Instead of trying to run without sudo first and falling back if it fails, now we check if the current user is root (UID 0) and use sudo only when the user is not root.

This is cleaner and more efficient.

@carsso carsso merged commit c7ed841 into root-gg:master Jan 12, 2026
1 check passed
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