home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 5 May 2025 20:42:30 +0000 (22:42 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 5 May 2025 20:42:30 +0000 (22:42 +0200)
bookworm/scripts/lib/prefixed_msg

index 374fe8580b58613efbab1a16c34c5caf7045e3f2..edb1e1217db520c32a1bc4284cb1e891756b1a9c 100644 (file)
@@ -13,7 +13,7 @@ prefixed_msg_no_nl() {
     _SEPARATORS=$(echo "${_prefixed_msg_OLD_PREFIX}" | sed 's/[^|]//g')
     while [ ! -z "${_SEPARATORS}" ]; do
         _INDENT='${_INDENT}${_INDENTOR}'
-        _SEPARATORS=$(echo "${_SEPARATORS}" | cut -d'| -f2-)
+        _SEPARATORS=$(echo "${_SEPARATORS}" | cut -d'|' -f2-)
     done
     printf '%s%s%s' "${_INDENT}" "${prefixed_msg_PREFIX}" "$1"
 }