Error handling update
This commit is contained in:
parent
121be8565a
commit
0a4abf7527
4 changed files with 32 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
|||
|
||||
source ./restore.lib.bash
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Failed to source restore.lib.bash"
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function cprint () {
|
||||
color="$1"
|
||||
shift
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue