From f248145e64d5ae78c88b7487e0d5de57505765a1 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Thu, 13 May 2021 08:01:47 +0000 Subject: [PATCH] Shell: Fix incorrect fcntl usage FD_CLOEXEC is a file descriptor flag, so one must use F_{G,S}ETFD instead. --- Userland/Shell/Shell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp index 332b644b6a..76ee97c122 100644 --- a/Userland/Shell/Shell.cpp +++ b/Userland/Shell/Shell.cpp @@ -2118,8 +2118,8 @@ SavedFileDescriptors::SavedFileDescriptors(const NonnullRefPtrVector