mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-17 10:11:45 +00:00
Fix compilation on Release mode
This commit is contained in:
@@ -117,7 +117,10 @@ namespace Execute
|
||||
debug("Loaded elf %s at %#lx with the length of %ld",
|
||||
Path, ElfFile, statbuf.st_size);
|
||||
|
||||
PCB *Process = TaskManager->CreateProcess(thisProcess,
|
||||
if (Parent == nullptr)
|
||||
Parent = thisProcess;
|
||||
|
||||
PCB *Process = TaskManager->CreateProcess(Parent,
|
||||
BaseName,
|
||||
TaskExecutionMode::User,
|
||||
ElfFile, false,
|
||||
|
Reference in New Issue
Block a user