mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Kernel: Also move()
the shebang path in execve
This commit is contained in:
parent
4faff69974
commit
26250779d1
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ KResult Process::exec(String path, Vector<String> arguments, Vector<String> envi
|
|||
auto shebang_path = shebang_words.first();
|
||||
if (!arguments.try_prepend(move(shebang_words)))
|
||||
return ENOMEM;
|
||||
return exec(shebang_path, move(arguments), move(environment), ++recursion_depth);
|
||||
return exec(move(shebang_path), move(arguments), move(environment), ++recursion_depth);
|
||||
}
|
||||
|
||||
// #2) ELF32 for i386
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue