mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Remove last remaining debug(0)
Replace with FLOGF.
This commit is contained in:
parent
0e5846ee38
commit
384f18a51c
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ bool is_windows_subsystem_for_linux() {
|
|||
// is bypassed. We intentionally do not include this in the error message because
|
||||
// it'll only allow fish to run but not to actually work. Here be dragons!
|
||||
if (getenv("FISH_NO_WSL_CHECK") == nullptr) {
|
||||
debug(0,
|
||||
FLOGF(error,
|
||||
"This version of WSL has known bugs that prevent fish from working."
|
||||
"Please upgrade to Windows 10 1809 (17763) or higher to use fish!");
|
||||
}
|
||||
|
|
|
@ -3514,7 +3514,7 @@ static int read_ni(parser_t &parser, int fd, const io_chain_t &io) {
|
|||
clearerr(in_stream);
|
||||
} else {
|
||||
// Fatal error.
|
||||
debug(0, _(L"Unable to read input file: %s"), strerror(errno));
|
||||
FLOGF(error, _(L"Unable to read input file: %s"), strerror(errno));
|
||||
// Reset buffer on error. We won't evaluate incomplete files.
|
||||
acc.clear();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue