I use "source" inside a bash script, as follows:
#!/bin/bash
source someneatscriptthatendsprematurely.sh
I would like to exit from the someneatscriptthatendsprematurely.sh script, without exiting from the main script.
Any help appreciated!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…