si no hay archivos que enviar esperar al próximo intervalo

This commit is contained in:
f 2022-03-03 15:13:39 -03:00
parent 9fef227f5e
commit d2f30d8fe7

View file

@ -17,7 +17,7 @@ while :;do
[ -f $install_dir/lock ] && continue
file=$(get_stack)
[ -z $file ] && continue
[ -z $file ] && sleep ${interval:-1}m && continue
ping -c 1 fsf.org > /dev/null 2>&1 || continue
test_url="$(curl -s -X POST -o /dev/null -w "%{http_code}" $url)"