diff options
-rw-r--r-- | security/openssh/files/patch-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openssh/files/patch-session.c b/security/openssh/files/patch-session.c index 5716ed69ffc1..9ec94df2fc1c 100644 --- a/security/openssh/files/patch-session.c +++ b/security/openssh/files/patch-session.c @@ -279,8 +279,8 @@ env[0] = NULL; +#ifdef __FreeBSD__ -+ if (getenv("TZ")) -+ child_set_env(&env, &envsize, "TZ", getenv("TZ")); ++ if (getenv("TZ")) ++ child_set_env(&env, &envsize, "TZ", getenv("TZ")); +#endif /* __FreeBSD__ */ + if (!options.use_login) { |