diff --git a/netdata/edit-config b/netdata/edit-config index b705432..96ee82d 100755 --- a/netdata/edit-config +++ b/netdata/edit-config @@ -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