浏览代码

more clear separation between log entry points

Christian Winther 1 年之前
父节点
当前提交
82ab545f1a
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      docker/shared/root/docker/entrypoint.sh

+ 6 - 6
docker/shared/root/docker/entrypoint.sh

@@ -58,9 +58,9 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil
             log-error-and-exit "File [${file}] is not executable (please 'chmod +x' it)"
         fi
 
-        log-info ""
-        log-info "${notice_message_color}Sourcing [${file}]${color_clear}"
-        log-info ""
+        log-info "========================================"
+        log-info "Sourcing [${file}]"
+        log-info "========================================"
 
         # shellcheck disable=SC1090
         source "${file}"
@@ -76,9 +76,9 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil
             log-error-and-exit "File [${file}] is not executable (please 'chmod +x' it)"
         fi
 
-        log-info ""
-        log-info "${notice_message_color}Executing [${file}]${color_clear}"
-        log-info ""
+        log-info "========================================"
+        log-info "Executing [${file}]"
+        log-info "========================================"
 
         "${file}"
         ;;