remove failuretrap
This commit is contained in:
parent
0b24997970
commit
495e22d0d9
1 changed files with 6 additions and 6 deletions
12
bashrc_add
12
bashrc_add
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#debug
|
#debug
|
||||||
|
|
||||||
failure() {
|
#failure() {
|
||||||
local lineno=$1
|
# local lineno=$1
|
||||||
local msg=$2
|
# local msg=$2
|
||||||
echo "Failed at $lineno: $msg"
|
# echo "Failed at $lineno: $msg"
|
||||||
}
|
#}
|
||||||
trap 'failure ${LINENO} "$BASH_COMMAND"' ERR
|
#trap 'failure ${LINENO} "$BASH_COMMAND"' ERR
|
||||||
|
|
||||||
|
|
||||||
# set SSHS to false, if not set
|
# set SSHS to false, if not set
|
||||||
|
|
Loading…
Reference in a new issue