diff --git a/wf-shadow b/wf-shadow index 768e71f..a86255a 100755 --- a/wf-shadow +++ b/wf-shadow @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (C) 2023 Skylar Widulski +# Copyright (C) 2024 Skylar Widulski # # This program is free software: you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software @@ -55,7 +55,7 @@ if [ -n "$VERBOSE" ]; then fi trap 'kill $(jobs -p) 2>/dev/null' EXIT -trap 'exit' INT +trap 'kill "$(<"$RUNTIME"/"$OUTPUT"_host.pid)"; rm -f "$RUNTIME"/"$OUTPUT"_host.pid' INT set -m shopt -s extglob diff --git a/wf-shadow-tui b/wf-shadow-tui index 2516809..0569f95 100755 --- a/wf-shadow-tui +++ b/wf-shadow-tui @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (C) 2023 Skylar Widulski +# Copyright (C) 2024 Skylar Widulski # # This program is free software: you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software