forked from lix-project/lix
Remove pointless NIX_LOG_TYPE environment variable
This commit is contained in:
parent
57695d8f76
commit
401ab50566
|
@ -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
|
||||||
|
|
|
@ -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++);
|
||||||
|
|
Loading…
Reference in a new issue