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. (#14705)
This commit is contained in:
parent
5ee397eab6
commit
bb3cbfcb41
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue