diff options
Diffstat (limited to 'Userland/Tests/Kernel/elf-execve-mmap-race.cpp')
-rw-r--r-- | Userland/Tests/Kernel/elf-execve-mmap-race.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Tests/Kernel/elf-execve-mmap-race.cpp b/Userland/Tests/Kernel/elf-execve-mmap-race.cpp index a5a730a3bb..002b37fe6f 100644 --- a/Userland/Tests/Kernel/elf-execve-mmap-race.cpp +++ b/Userland/Tests/Kernel/elf-execve-mmap-race.cpp @@ -151,8 +151,7 @@ int main() if (!fork()) { try_again: printf("exec\n"); - if (execl(path, "x", nullptr) < 0) { - } + execl(path, "x", nullptr); goto try_again; } |