ash: report reason when a script file could not be opened
No binary (build failed)
—
(log yok)
| @@ -10575,7 +10575,7 @@ setinputfile(const char *fname, int flags) | |
| if (flags & INPUT_NOFILE_OK) | |
| goto out; | |
| exitstatus = 127; | |
| - | ash_msg_and_raise_error("can't open '%s'", fname); |
| + | ash_msg_and_raise_perror("can't open '%s'", fname); |
| } | |
| if (fd < 10) | |
| fd = savefd(fd); | |