summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-06-29 05:55:04 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-08 12:04:01 +0200
commit84e10172721406d7ac81a67ac75139855481a1bb (patch)
treeca9afcd57f385b460579179ec1e33dc70a81ebdd /Userland/DevTools
parent6256bdb075a3add4323ccff9a858c57de781de2a (diff)
downloadserenity-84e10172721406d7ac81a67ac75139855481a1bb.zip
Userland: Add `/usr/local/sbin` to `PATH` by default
`e2fsprogs` adds its tools there.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/HackStudio/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp
index 94fb9d2880..7f855470d7 100644
--- a/Userland/DevTools/HackStudio/main.cpp
+++ b/Userland/DevTools/HackStudio/main.cpp
@@ -124,7 +124,7 @@ static void update_path_environment_variable()
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);
}