summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-10-21 12:40:59 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-21 12:40:59 -0500
commit7793bf43e337fd24fa8f09ec9a943954ccb5253a (patch)
treeef17ca68c7f1711bf3daefb398e8193f8fe82e8f /functions
parentc7b8ec71de80d51ea48dbd981ae9b5710d721e0d (diff)
downloadvyatta-op-7793bf43e337fd24fa8f09ec9a943954ccb5253a.tar.gz
vyatta-op-7793bf43e337fd24fa8f09ec9a943954ccb5253a.zip
Don't show an error message when we can't turn echo on (this is the case with the webgui)
Diffstat (limited to 'functions')
-rw-r--r--functions/interpreter/vyatta-op-run6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/interpreter/vyatta-op-run b/functions/interpreter/vyatta-op-run
index a064b61..9ea4368 100644
--- a/functions/interpreter/vyatta-op-run
+++ b/functions/interpreter/vyatta-op-run
@@ -120,9 +120,9 @@ _vyatta_op_run ()
_vyatta_op_last_comp=${_vyatta_op_last_comp_init}
false; estat=$?
- stty echo # turn echo on, this is a workaround for bug 7570
- # not a fix we need to look at why the readline library
- # is getting confused on paged help text.
+ stty echo 2> /dev/null # turn echo on, this is a workaround for bug 7570
+ # not a fix we need to look at why the readline library
+ # is getting confused on paged help text.
i=1
declare -a args # array of expanded arguments