dotfiles/bin/forever

10 lines
97 B
Plaintext
Raw Normal View History

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