No longer require sudo #64
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix-install-action#64
Loading…
Reference in a new issue
No description provided.
Delete branch "hoverbear/fh-156-installer-action-shouldnt-require-sudo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This should resolve https://github.com/DeterminateSystems/nix-installer-action/issues/62
Checklist
Sometimes the root username can be known as
toor
. How about checking if the uid is 0?Looks like this is inverted, and uses sudo if our euid is 0.
Incredible job, Ana.