From 4f87f3e9f458199319c2941729a214c0f35cb45c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 12 Jun 2022 18:15:23 +0530 Subject: [PATCH] ... --- kitty/prewarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/prewarm.py b/kitty/prewarm.py index d81154f89..192c082bb 100644 --- a/kitty/prewarm.py +++ b/kitty/prewarm.py @@ -482,7 +482,7 @@ def fork_prewarm_process(opts: Options, use_exec: bool = False) -> Optional[Prew [kitty_exe(), '+runpy', f'from kitty.prewarm import exec_main; exec_main({stdin_read}, {stdout_write}, {death_notify_write})'], pass_fds=(stdin_read, stdout_write, death_notify_write)) child_pid = tp.pid - tp.returncode = 0 + tp.returncode = 0 # prevent a warning when the popen object is deleted with the process still running else: child_pid = os.fork() if child_pid: