diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-06-29 05:55:04 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-08 12:04:01 +0200 |
commit | 84e10172721406d7ac81a67ac75139855481a1bb (patch) | |
tree | ca9afcd57f385b460579179ec1e33dc70a81ebdd /Userland/Shell/Shell.cpp | |
parent | 6256bdb075a3add4323ccff9a858c57de781de2a (diff) | |
download | serenity-84e10172721406d7ac81a67ac75139855481a1bb.zip |
Userland: Add `/usr/local/sbin` to `PATH` by default
`e2fsprogs` adds its tools there.
Diffstat (limited to 'Userland/Shell/Shell.cpp')
-rw-r--r-- | Userland/Shell/Shell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp index 41907f5227..d1a39477a5 100644 --- a/Userland/Shell/Shell.cpp +++ b/Userland/Shell/Shell.cpp @@ -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); } |