0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 09:38:34 +00:00

Don’t try to use tput in edit-config unless it’s installed. ()

This commit is contained in:
Austin S. Hemmelgarn 2023-03-13 07:34:41 -04:00 committed by GitHub
parent 5ee397eab6
commit bb3cbfcb41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ list_files() {
check_directories
handle_container
if test -t; then
if test -t && command -v tput > /dev/null 2>&1; then
width="$(tput cols)"
fi