mirror of
https://github.com/kevinnlsamuel/bak-old.git
synced 2025-12-06 10:05:58 +05:30
enable set -e
This commit is contained in:
@@ -10,6 +10,9 @@ version='0.1.0-beta'
|
|||||||
### IFS precautions #
|
### IFS precautions #
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
unset IFS
|
unset IFS
|
||||||
|
### error precautions
|
||||||
|
set -e
|
||||||
|
#####################
|
||||||
|
|
||||||
debug(){ ### function to call when $DEBUG is set
|
debug(){ ### function to call when $DEBUG is set
|
||||||
set -xv
|
set -xv
|
||||||
|
|||||||
Reference in New Issue
Block a user