diff options
author | Soispha <soispha@vhack.eu> | 2024-01-06 21:56:28 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-06 21:56:28 +0100 |
commit | 3ecbeb44e99b69bd72f151b3a21dce1e314166fa (patch) | |
tree | c33620fef9ba5f13f537a0bea2c83a6d25f015c6 /hm | |
parent | feat(hm/pkgs/scr/specific/ytcc/description): Add command to display description (diff) | |
download | nixos-config-3ecbeb44e99b69bd72f151b3a21dce1e314166fa.tar.gz nixos-config-3ecbeb44e99b69bd72f151b3a21dce1e314166fa.zip |
fix(hm/pkgs/scr/specific/ytcc/yts): Explicitly exit with 0
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/specific/ytcc/yts | 3 |
1 files changed, 3 insertions, 0 deletions
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 |