mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-05 23:35:33 +00:00
Userland: Add /usr/local/sbin to PATH by default
`e2fsprogs` adds its tools there.
This commit is contained in:
committed by
Linus Groh
parent
6256bdb075
commit
84e1017272
@@ -2186,7 +2186,7 @@ Shell::Shell()
|
||||
path.append(getenv("PATH"));
|
||||
if (path.length())
|
||||
path.append(":");
|
||||
path.append("/usr/local/bin:/usr/bin:/bin");
|
||||
path.append("/usr/local/sbin:/usr/local/bin:/usr/bin:/bin");
|
||||
setenv("PATH", path.to_string().characters(), true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user