mirror of
https://github.com/kevinnlsamuel/bak-old.git
synced 2026-10-25 15:35:39 +05:30
enable set -e
This commit is contained in:
1 file changed
+3
@@ -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