summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2017-06-23 10:51:08 -0600
committerAaron Ball <nullspoon@oper.io>2017-06-23 10:51:08 -0600
commit3d53e907a39546e50892c2d7fac856a3294809d5 (patch)
tree7227428213c4cda16c6e20c6d8763ca3dd8529ee
parent8259998b09a877de72d0f704ad90212cb08b278f (diff)
downloadportimg-3d53e907a39546e50892c2d7fac856a3294809d5.tar.gz
portimg-3d53e907a39546e50892c2d7fac856a3294809d5.tar.xz
liblog:Fixed error level
Was printing a function call trace. This wasn't very useful though when the log aliases were called, so this removes it.
-rw-r--r--lib/log.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.sh b/lib/log.sh
index 26bc5bb..ee89f38 100644
--- a/lib/log.sh
+++ b/lib/log.sh
@@ -52,7 +52,7 @@ function log {
local label=''
if [[ ${level} == 'error' ]]; then
- label="${d} ERROR Function ${FUNCNAME[1]}: "
+ label="${d} ERROR "
elif [[ ${level} == 'warn' ]]; then
label="${d} WARN "
elif [[ ${level} == 'debug' ]]; then

Generated by cgit