You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: detect logged-in user's home directory when running as root (#8)
When asimov runs as root (via brew services or sudo), ~ expands to
/var/root. Now detects the console user via stat/dscl and uses their
home directory instead.
Addresses stevegrunwell#72.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
44
45
45
### Fixed
46
46
47
+
* Detect the logged-in user's home directory when running as root, fixing `brew services` and `sudo` invocations that would search `/var/root` instead ([stevegrunwell/asimov#72])
47
48
* Fixed duplicate Gradle sentinel entries in the sentinels list
48
49
* Fixed typo in comment ("decendents" → "descendants")
0 commit comments