diff --git a/ptgdp b/ptgdp index 509588e..674d588 100755 --- a/ptgdp +++ b/ptgdp @@ -392,11 +392,13 @@ main() { # Pre-really-do-stuff hooks like help text [ -n "$_opthelp" ] && printhelp && exit 0 - # Do the do + # Ensure we're ready to do the do log "Validating dependencies" 2 if ! has youtube-dl pgrep; then error "Failed to find program: $_return" 1 fi + + # Do the do if [ -n "${_args[*]}" ]; then # Files specified on the command line have priority for arg in "${_args[@]}"; do