mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 05:06:27 +08:00
status: Do add the command name to the error
This commit is contained in:
parent
4f1c62ff43
commit
d241f0853e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user