fixed debug bug
This commit is contained in:
parent
a165e021d9
commit
db89bc9bca
@ -42,8 +42,9 @@ function debugopt () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function dbg () {
|
function dbg () {
|
||||||
read line
|
while read line; do
|
||||||
[[ "$(awk "/^$1/ {print \$2}" ${DEBUGCONF})" =~ "[123]" ]] && echo $line >> "$BASEDIR/var/tunnelkeeper-$(date +"%Y%m%d").log"
|
[[ "$(awk "/^$1/ {print \$2}" ${DEBUGCONF})" =~ "[123]" ]] && echo $line >> "$BASEDIR/var/tunnelkeeper-$(date +"%Y%m%d").log"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
function connect () {
|
function connect () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user