summaryrefslogtreecommitdiff
path: root/print_cmd.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:21:48 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:21:48 -0500
commit6a8fd0ed505d5d8fca9509995ae2d87243f0e6b2 (patch)
treef6bbcf557b86c7cb65e77feb6de7414e224c3a65 /print_cmd.c
parent1d0e1a34e001317e7e5acd206639577fd398f107 (diff)
downloadbash-6a8fd0ed505d5d8fca9509995ae2d87243f0e6b2.tar.gz
commit bash-20080410 snapshot
Diffstat (limited to 'print_cmd.c')
-rw-r--r--print_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_cmd.c b/print_cmd.c
index 0386a78a..d3cf0809 100644
--- a/print_cmd.c
+++ b/print_cmd.c
@@ -969,7 +969,7 @@ print_redirection (redirect)
break;
case r_err_and_out:
- cprintf (">&%s", redirectee->word);
+ cprintf ("&>%s", redirectee->word);
break;
case r_input_output: