Coverity: Fix CHECKED_RETURN warning

This commit is contained in:
matt335672
2025-10-31 14:17:24 +00:00
parent f387522c83
commit d95893a8c3
+1 -1
View File
@@ -267,7 +267,7 @@ start_window_manager(const struct login_info *login_info,
"Setting variable '%s' to the specified shell of '%s'",
g_cfg->sec.pass_shell_as_env,
s->shell);
g_setenv(g_cfg->sec.pass_shell_as_env, s->shell, 1);
g_setenv_log(g_cfg->sec.pass_shell_as_env, s->shell, 1);
}
else if (s->shell[0] != '\0')
{