Fixed printf-calls to print only one string

This commit is contained in:
2022-06-06 17:02:31 +02:00
parent 7713e7e39d
commit 534d417b86
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ latest_commit () {
if ! [ -z "$c" ]; then
if grep -qE "^[[:xdigit:]]{6,}$" <<< $c; then
log_debug "$func:${LINENO} commit -> $c"
printf "%s\n" $c
printf "%s\n" "$c"
else
log_crit "$func:${LINENO} wrong format for commit c=$c"
fi