subshell?

This commit is contained in:
Zynh Ludwig 2024-08-01 03:22:38 -07:00
parent b246a21742
commit 2dd0f78052

View file

@ -26,7 +26,7 @@ in
target=''${args[1]} target=''${args[1]}
if [ -d "$target" ]; then if [ -d "$target" ]; then
files=("$($target)/*") files=("$target/*")
if [[ $($files[@]) -gt 0 ]]; then if [[ $($files[@]) -gt 0 ]]; then
echo "~ Found Files at $target ~" echo "~ Found Files at $target ~"