From f6bf229c8d8abdc26ef98eeeb69f00cdf2f1f24c Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Wed, 27 May 2026 14:37:44 +0200 Subject: [PATCH] unecessary kill and wait --- profile.d/fun.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/profile.d/fun.sh b/profile.d/fun.sh index 626b22d..4e6ae6d 100644 --- a/profile.d/fun.sh +++ b/profile.d/fun.sh @@ -256,8 +256,6 @@ fake_compile() ) & local sub_pid=$! IFS= read -r -n 1 -s _ /dev/null || kill "$sub_pid" 2>/dev/null - wait "$sub_pid" 2>/dev/null return 0 } export -f fake_compile @@ -418,8 +416,6 @@ hack() ) & local sub_pid=$! IFS= read -r -n 1 -s _ /dev/null || kill "$sub_pid" 2>/dev/null - wait "$sub_pid" 2>/dev/null return 0 } export -f hack