execute a command until success in bash

Developer from somewhere

until somecmd; do echo "Retrying"; done