This file contains hidden or 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/bash | |
echo "Do you want to want to continue when errors occur?" | |
echo "This is useful if something went wrong and you run the sript for the seccond time." | |
ask() { | |
read -p "Skip errors? (Y/[N]): " confirm | |
if [[ $confirm == [yY] ]]; then | |
echo "skipping errors" | |
elif [[ $confirm == [nN] ]]; then |