mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 09:58:54 +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…
x
Reference in New Issue
Block a user