Created
March 30, 2020 08:52
-
-
Save zoilomora/f6bc7d5c24e06c44ff8ce62b0b9ffa85 to your computer and use it in GitHub Desktop.
Script to execution loop with output if it fails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
while true | |
do | |
eval "$@" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment