From cd8c41afa15baa32e59cee2e73a07dc8e78858f3 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Wed, 3 Jun 2026 10:33:27 +0530 Subject: fix: false alarm even when command's available --- scripts/vidl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/vidl b/scripts/vidl index 7fd7e8a..719196d 100755 --- a/scripts/vidl +++ b/scripts/vidl @@ -5,12 +5,10 @@ set -eou pipefail check_deps(){ app_list=(yt-dlp gum) for app in "${app_list[@]}"; do - _have=$(command -v "$app" &>/dev/null) + _have=$(command -v "$app") if [ -z "$_have" ]; then printf "%b\n" "$app is not installed." exit 1 - else - true fi done } -- cgit v1.3