From 972ad8c25f52947397f4254cba1d570b7e6ffdb2 Mon Sep 17 00:00:00 2001 From: bel Date: Wed, 29 Mar 2023 19:24:27 -0600 Subject: [PATCH] gogo --- server-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-vm.sh b/server-vm.sh index 6678474..6570acf 100644 --- a/server-vm.sh +++ b/server-vm.sh @@ -1,7 +1,6 @@ # /bin/bash main() { - trap cleanup exit _discord _dolphin _stt @@ -16,6 +15,7 @@ cleanup() { log killing $jobs_to_clean kill -9 $jobs_to_clean } +trap cleanup EXIT log() { echo "$(date) > $*" >&2