subshell?
This commit is contained in:
parent
b246a21742
commit
2dd0f78052
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ in
|
|||
target=''${args[1]}
|
||||
|
||||
if [ -d "$target" ]; then
|
||||
files=("$($target)/*")
|
||||
files=("$target/*")
|
||||
|
||||
if [[ $($files[@]) -gt 0 ]]; then
|
||||
echo "~ Found Files at $target ~"
|
||||
|
|
Loading…
Reference in a new issue