Permalink
Browse files

Added untilfails.

  • Loading branch information...
1 parent 73e0a12 commit 29b6603e11584e4ded966cb7955c0514cd9f72f2 @dustin committed Aug 18, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 untilfails
View
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+"$@"
+while [ $? -eq 0 ]
+do
+ echo Retrying...
+ sleep 1
+ "$@"
+done

0 comments on commit 29b6603

Please sign in to comment.