diff --git a/register.sh b/register.sh index e54e3f3..f207c78 100755 --- a/register.sh +++ b/register.sh @@ -3,11 +3,12 @@ source /etc/nodemecu.conf source $install_dir/functions +# No expandir directorios vacĂ­os +shopt -s nullglob # Revisando stack for filename in $install_dir/stack/*;do - test "$filename" = "$install_dir/stack/\*" || break jq $filename >/dev/null 2>&1 || mv -v $filename $corrupt done