diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-08-07 14:05:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 18:56:30 +0200 |
commit | 208428916227ef3ef219000d85116388a95680e9 (patch) | |
tree | 520348067d4d55a6626f06ff5a2af079dc84aaf7 /Userland/Services | |
parent | b1add5860bc5ad5fc0c29068b10acdbbdf418b19 (diff) | |
download | serenity-208428916227ef3ef219000d85116388a95680e9.zip |
Userland: Fix PATH environment variable ordering
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/TelnetServer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/TelnetServer/main.cpp b/Userland/Services/TelnetServer/main.cpp index f6817cf5ae..663a07b4e5 100644 --- a/Userland/Services/TelnetServer/main.cpp +++ b/Userland/Services/TelnetServer/main.cpp @@ -70,7 +70,7 @@ static void run_command(int ptm_fd, String command) args[1] = "-c"; args[2] = command.characters(); } - const char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin:/usr/local/bin", nullptr }; + const char* envs[] = { "TERM=xterm", "PATH=/usr/local/bin:/usr/bin:/bin", nullptr }; rc = execve("/bin/Shell", const_cast<char**>(args), const_cast<char**>(envs)); if (rc < 0) { perror("execve"); |