summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index ad1b9fd9f..7a4f7c6a8 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12163,7 +12163,7 @@ fixredir(union node *n, const char *text, int err)
* silently truncate results to word width.
*/
if (err)
- raise_error_syntax("bad fd number");
+ ash_msg_and_raise_error("bad fd number");
n->ndup.vname = makename();
}
}