diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 703802ff5..a67a45376 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -10575,7 +10575,7 @@ setinputfile(const char *fname, int flags) | |||
10575 | if (flags & INPUT_NOFILE_OK) | 10575 | if (flags & INPUT_NOFILE_OK) |
10576 | goto out; | 10576 | goto out; |
10577 | exitstatus = 127; | 10577 | exitstatus = 127; |
10578 | ash_msg_and_raise_error("can't open '%s'", fname); | 10578 | ash_msg_and_raise_perror("can't open '%s'", fname); |
10579 | } | 10579 | } |
10580 | if (fd < 10) | 10580 | if (fd < 10) |
10581 | fd = savefd(fd); | 10581 | fd = savefd(fd); |