]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostnamectl: fix hyperlink in "Operating System" field
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 May 2021 09:00:12 +0000 (18:00 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 May 2021 13:27:20 +0000 (15:27 +0200)
commit8fc1efa88fb935ab4357fa39ed71ccb70df55d7e
tree2e7966bcb49993fb1c037236eea8161ea3ddea8a
parent296c13dec4019c86dbb9197617e447e40781e79d
hostnamectl: fix hyperlink in "Operating System" field

This fixes a bug introduced by 822be62fb23ed0ec1062ffd18057e53f6c2f8c01.

Before this, if terminal width is not enough, the all subsequent lines
are included in the hyperlink.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1955475.
src/hostname/hostnamectl.c