aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 4cccf31a4..4832e2c48 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -7103,7 +7103,7 @@ int hush_main(int argc, char **argv)
break;
#if !BB_MMU
case '<': /* "big heredoc" support */
- full_write(STDOUT_FILENO, optarg, strlen(optarg));
+ full_write1_str(optarg);
_exit(0);
case '$': {
unsigned long long empty_trap_mask;