#!/bin/sh # # About # ----- # Repeat the command until it fails - always run at least once. # "$@" # # If the status code was zero then repeat. # while [ $? -eq 0 ]; do "$@" done