trying read again
This commit is contained in:
parent
6abd4e0607
commit
295ea11586
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ in
|
|||
target=''${args[1]}
|
||||
|
||||
if [ -d "$target" ]; then
|
||||
if [[ $(${pkgs.findutils}/bin/find "$target" -maxdepth 0 -empty) -gt 0 ]]; then
|
||||
if ${pkgs.findutils}/bin/find "$target" -maxdepth 0 -empty | read v; then
|
||||
echo "~ No Files in $target ~"
|
||||
else
|
||||
echo "~ Found Files at $target ~"
|
||||
|
|
Loading…
Reference in a new issue