Remove pointless NIX_LOG_TYPE environment variable

This commit is contained in:
Eelco Dolstra 2014-08-13 01:19:02 +02:00
parent 57695d8f76
commit 401ab50566
2 changed files with 0 additions and 13 deletions

View file

@ -127,15 +127,6 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen>
</varlistentry> </varlistentry>
<varlistentry><term><envar>NIX_LOG_TYPE</envar></term>
<listitem><para>Equivalent to the <link
linkend="opt-log-type"><option>--log-type</option>
option</link>.</para></listitem>
</varlistentry>
<varlistentry><term><envar>TMPDIR</envar></term> <varlistentry><term><envar>TMPDIR</envar></term>
<listitem><para>Use the specified directory to store temporary <listitem><para>Use the specified directory to store temporary

View file

@ -144,10 +144,6 @@ static void initAndRun(int argc, char * * argv)
gettimeofday(&tv, 0); gettimeofday(&tv, 0);
srandom(tv.tv_usec); srandom(tv.tv_usec);
/* Process the NIX_LOG_TYPE environment variable. */
string lt = getEnv("NIX_LOG_TYPE");
if (lt != "") setLogType(lt);
/* Put the arguments in a vector. */ /* Put the arguments in a vector. */
Strings args, remaining; Strings args, remaining;
while (argc--) args.push_back(*argv++); while (argc--) args.push_back(*argv++);