diff options
author | Bryan Drewery <bryan@shatow.net> | 2021-11-20 06:11:40 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2021-11-24 06:31:11 +0300 |
commit | bbbf1942a2f302c78f0721967b11d6dfe6c93937 (patch) | |
tree | d219c1e94f9de6f352b5ba7e4a0adac19ca777cb /src | |
parent | 17066c65f67818f674204784d2102b123d656cfd (diff) |
display_output: Don't size non-format-arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/share/poudriere/include/display.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/share/poudriere/include/display.sh b/src/share/poudriere/include/display.sh index 83c4a177..43045a58 100644 --- a/src/share/poudriere/include/display.sh +++ b/src/share/poudriere/include/display.sh @@ -97,6 +97,11 @@ display_output() { lengths= n=0 for arg in "$@"; do + # Check if this is a format argument + case "${arg}" in + *%*) ;; + *) continue ;; + esac case ${arg} in *%d*) hash_get lengths ${n} length |