diff --git a/bin/forever b/bin/forever new file mode 100755 index 0000000..0dc243d --- /dev/null +++ b/bin/forever @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +while :; do + "$@" + + if [ $? -ne 0 ]; then + exit $? + fi +done