Initialize opt.session_env.

This commit is contained in:
Marcus Brinkmann 2009-11-05 02:18:31 +00:00
parent 16a8979984
commit a5c7929900
1 changed files with 5 additions and 0 deletions

View File

@ -369,6 +369,11 @@ main ( int argc, char **argv)
create_dotlock (NULL); /* Register locking cleanup. */
opt.session_env = session_env_new ();
if (!opt.session_env)
log_fatal ("error allocating session environment block: %s\n",
strerror (errno));
opt.homedir = default_homedir ();
/* First check whether we have a config file on the commandline. */