Commit 1edf887
fix(install): use $EUID builtin for root detection
Replace $(id -u) with ${EUID:-$(id -u)} for more reliable root
detection in bash, falling back to id -u if EUID is not set.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6cc59bf commit 1edf887
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments