#!/bin/bash STATUS=1 while [ STATUS -ne 0 ] dortmpdump whatever.com/a -o a.flv STATUS=$?done
rtmpdump whatever.com/a -o a.flv STATUS=$?