From 3ecbeb44e99b69bd72f151b3a21dce1e314166fa Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 6 Jan 2024 21:56:28 +0100 Subject: fix(hm/pkgs/scr/specific/ytcc/yts): Explicitly exit with 0 --- hm/soispha/pkgs/scripts/specific/ytcc/yts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hm/soispha/pkgs/scripts/specific') diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/yts b/hm/soispha/pkgs/scripts/specific/ytcc/yts index 60c4e2db..a18e4d51 100755 --- a/hm/soispha/pkgs/scripts/specific/ytcc/yts +++ b/hm/soispha/pkgs/scripts/specific/ytcc/yts @@ -91,6 +91,8 @@ table="$(ytcc --output json list "$@" | jq --raw-output 'map("pick \(.id) \(.tit selection_file="$(mktmp)"; +# This is trapped on EXIT +# shellcheck disable=SC2317 cleanup() { task stop "$TASK_UUID" } @@ -134,4 +136,5 @@ while read -r line; do done < "$selection_file" [ -n "$1" ] && ytc "id" "$@"; +exit 0; # vim: ft=sh -- cgit 1.4.1