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 15:26:35 -0500
commit601cc5d54fa869dd4a9bbe45e9396ba6fc1f5811 (patch)
treecc81b59b6c76d0c26c59b7a6c81694da6649b4f0 /functions
parente621c78d7e27d566d9d9458a112e2041521b5326 (diff)
downloadvyatta-op-601cc5d54fa869dd4a9bbe45e9396ba6fc1f5811.tar.gz
vyatta-op-601cc5d54fa869dd4a9bbe45e9396ba6fc1f5811.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