diff options
-rw-r--r-- | functions/interpreter/vyatta-op-run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/interpreter/vyatta-op-run b/functions/interpreter/vyatta-op-run index 7723855..1d460ee 100644 --- a/functions/interpreter/vyatta-op-run +++ b/functions/interpreter/vyatta-op-run @@ -135,7 +135,7 @@ _vyatta_op_run () fi # output proper error message based on the above expansion if [[ "${arg[1]}" == "ambiguous" ]]; then - echo -ne "\n Ambiguous command: ${args[@]} [$arg]\n" + echo -ne "\n Ambiguous command: ${args[@]} [$arg]\n" >&2 local -a cmds=( $(compgen -d $tpath/$arg) ) _vyatta_op_node_path=$tpath local comps=$(_vyatta_op_help $arg ${cmds[@]##*/}) @@ -143,7 +143,7 @@ _vyatta_op_run () eval $restore_shopts return 1 elif [[ "${arg[1]}" == "invalid" ]]; then - echo -ne "\n Invalid command: ${args[@]} [$arg]\n\n" + echo -ne "\n Invalid command: ${args[@]} [$arg]\n\n" >&2 eval $restore_shopts return 1 fi |