diff --git a/tig.c b/tig.c index e0d0640b9..a32db5d0f 100644 --- a/tig.c +++ b/tig.c @@ -1659,11 +1659,8 @@ load_options(void) add_builtin_run_requests(); - if (!tigrc_system) { - if (!string_format(buf, "%s/tigrc", SYSCONFDIR)) - return ERR; - tigrc_system = buf; - } + if (!tigrc_system) + tigrc_system = SYSCONFDIR "/tigrc"; load_option_file(tigrc_system); if (!tigrc_user) {