Skip to content

Commit

Permalink
shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Dec 17, 2022
1 parent 720acc8 commit 04780a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/bin/installer-dist
Expand Up @@ -472,6 +472,7 @@ log(){
log_type_up="$(echo "${log_type}" | tr "[:lower:]" "[:upper:]")"
shift 1
## escape printf reserved char '%'
# shellcheck disable=SC2001
log_content="$(echo "${*}" | sed "s/%/%%/g")"
## set formatting based on log level
case "${log_type}" in
Expand Down

0 comments on commit 04780a5

Please sign in to comment.