mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
Remove last remaining debug(0)
Replace with FLOGF.
This commit is contained in:
parent
0e5846ee38
commit
384f18a51c
|
@ -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 New Issue
Block a user