mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 04:41:15 -03: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:
@@ -294,11 +294,6 @@ static void handle_locale()
|
||||
_nl_msg_cat_cntr++;
|
||||
|
||||
fish_dcgettext("fish", "Changing language to English", LC_MESSAGES);
|
||||
|
||||
if (get_is_interactive())
|
||||
{
|
||||
debug(2, _(L"Changing language to English"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user