From 27516ff497c6b78dc8912f221b3b46ae1a66a22a Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 15:59:08 -0600 Subject: [PATCH] sleep --- heavy_script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 2462458d..9b1c290e 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -23,7 +23,8 @@ git fetch &> /dev/null [[ "$i" == "--self-update" ]] && unset "args[$count]" && break ((count++)) done - bash "$SCRIPTNAME" "${args[@]}" + sleep 5 + exec bash "$SCRIPTNAME" "${args[@]}" # Now exit this old instance exit 1