removed logger calls from utils functions. handled by boxline
This commit is contained in:
parent
6f0c8efbaf
commit
91da452517
1 changed files with 3 additions and 3 deletions
|
|
@ -509,7 +509,7 @@ install-dir() {
|
||||||
success(){
|
success(){
|
||||||
_line="$@"
|
_line="$@"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
logger boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}"
|
boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -518,7 +518,7 @@ warn(){
|
||||||
_line="$@"
|
_line="$@"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
boxtop
|
boxtop
|
||||||
logger boxline "${lrd}WARNING${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
|
boxline "${lrd}WARNING${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
|
||||||
boxbottom
|
boxbottom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -527,7 +527,7 @@ fail(){
|
||||||
_line="$@"
|
_line="$@"
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
boxtop
|
boxtop
|
||||||
logger boxline "${lrd}FAILED${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
|
boxline "${lrd}FAILED${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
|
||||||
boxbottom
|
boxbottom
|
||||||
exit $ec
|
exit $ec
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue