mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
status: Do add the command name to the error
This commit is contained in:
@@ -460,7 +460,7 @@ maybe_t<int> builtin_status(parser_t &parser, io_streams_t &streams, const wchar
|
||||
streams.out.append(*real);
|
||||
streams.out.push_back(L'\n');
|
||||
} else {
|
||||
streams.err.append_format(L"realpath failed: '%s'\n", cmd, std::strerror(errno));
|
||||
streams.err.append_format(L"%ls: realpath failed: '%s'\n", cmd, std::strerror(errno));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user