1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

Userland: Add /usr/local/sbin to PATH by default

`e2fsprogs` adds its tools there.
This commit is contained in:
Tim Schumacher 2022-06-29 05:55:04 +02:00 committed by Linus Groh
parent 6256bdb075
commit 84e1017272
4 changed files with 4 additions and 4 deletions

View file

@ -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);
}