mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 13:23:53 +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);
|
fclose(fh);
|
||||||
output_location = argv[i];
|
output_location = argv[i];
|
||||||
} else {
|
} 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));
|
std::strerror(errno));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user