mirror of
https://github.com/netdata/netdata.git
synced 2025-04-27 14:16:20 +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
|
check_directories
|
||||||
handle_container
|
handle_container
|
||||||
|
|
||||||
if test -t; then
|
if test -t && command -v tput > /dev/null 2>&1; then
|
||||||
width="$(tput cols)"
|
width="$(tput cols)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue