dotfiles/bin/forever

10 lines
97 B
Plaintext
Raw Permalink Normal View History

2019-10-10 12:57:59 +01:00
#!/usr/bin/env bash
while :; do
"$@"
if [ $? -ne 0 ]; then
exit $?
fi
done