commit: 3bd65f0f5598fc4bf93deb46b60775f19ba7c3e2
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sat Feb 18 07:00:38 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 16:14:06 2023 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=3bd65f0f
Avoid a needless test where the number of TTY columns can't be detected
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
functions.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/functions.sh b/functions.sh
index d068627..e818049 100644
--- a/functions.sh
+++ b/functions.sh
@@ -523,6 +523,7 @@ for _ in 1 2 3; do
3)
# Give up and assume 80 available columns.
genfun_cols=80
+ break
esac
if is_int "${genfun_cols}" && [ "${genfun_cols}" -gt 0 ]; then
break