dotfiles/bin/forever

10 lines
97 B
Bash
Executable File

#!/usr/bin/env bash
while :; do
"$@"
if [ $? -ne 0 ]; then
exit $?
fi
done