mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Remove a debug() guarded by a surprising get_is_interactive
get_is_interactive can crash if proc_init has not been called. Fixes #2280
This commit is contained in:
parent
5b506499c1
commit
81cdceddd3
1 changed files with 0 additions and 5 deletions
|
@ -294,11 +294,6 @@ static void handle_locale()
|
||||||
_nl_msg_cat_cntr++;
|
_nl_msg_cat_cntr++;
|
||||||
|
|
||||||
fish_dcgettext("fish", "Changing language to English", LC_MESSAGES);
|
fish_dcgettext("fish", "Changing language to English", LC_MESSAGES);
|
||||||
|
|
||||||
if (get_is_interactive())
|
|
||||||
{
|
|
||||||
debug(2, _(L"Changing language to English"));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue