mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
fish_indent: fix error message on ENOENT
This commit is contained in:
parent
c54ee22c46
commit
91ccaae5bf
|
@ -656,7 +656,7 @@ int main(int argc, char *argv[]) {
|
|||
fclose(fh);
|
||||
output_location = argv[i];
|
||||
} else {
|
||||
std::fwprintf(stderr, _(L"Opening \"%s\" failed: %s\n"), *argv,
|
||||
std::fwprintf(stderr, _(L"Opening \"%s\" failed: %s\n"), argv[i],
|
||||
std::strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user