mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
Userland: Add /usr/local/sbin
to PATH
by default
`e2fsprogs` adds its tools there.
This commit is contained in:
parent
6256bdb075
commit
84e1017272
4 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ static ErrorOr<void> run_command(String command, bool keep_open)
|
|||
arguments.append("-c");
|
||||
arguments.append(command);
|
||||
}
|
||||
auto env = TRY(FixedArray<StringView>::try_create({ "TERM=xterm", "PAGER=more", "PATH=/usr/local/bin:/usr/bin:/bin" }));
|
||||
auto env = TRY(FixedArray<StringView>::try_create({ "TERM=xterm", "PAGER=more", "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/bin" }));
|
||||
TRY(Core::System::exec(shell, arguments, Core::System::SearchInPath::No, env.span()));
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue