leave: we should also cache time zone

MFC after:	1 week

(cherry picked from commit 08a38bb098e96f2ec77b26fab3b22bc4be89332a)
This commit is contained in:
Mariusz Zaborski 2024-11-27 15:17:07 +01:00
parent ef3914a561
commit 75c8e113e6

View file

@ -75,6 +75,7 @@ main(int argc, char **argv)
if (setlocale(LC_TIME, "") == NULL)
warn("setlocale");
caph_cache_tzdata();
caph_cache_catpages();
if (caph_limit_stdio() < 0 || caph_enter() < 0)
err(EXIT_FAILURE, "capsicum");