summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rwxr-xr-xsystem/edit-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/edit-config b/system/edit-config
index b705432d64..96ee82d4fe 100755
--- a/system/edit-config
+++ b/system/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