diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-13 01:19:02 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-13 01:19:02 +0200 |
commit | 401ab50566fc40e563e154b6db7dfb2f17293879 (patch) | |
tree | 81deddb0fb7b0ce5e89b136a60c2932401f3130f | |
parent | 57695d8f7630581c53ab37fe4123f92a3b1f426e (diff) |
Remove pointless NIX_LOG_TYPE environment variable
-rw-r--r-- | doc/manual/env-common.xml | 9 | ||||
-rw-r--r-- | src/libmain/shared.cc | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index 9e97e58f5..91a3e9e32 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -127,15 +127,6 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> </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> <listitem><para>Use the specified directory to store temporary diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 47c38e33e..467a15e76 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -144,10 +144,6 @@ static void initAndRun(int argc, char * * argv) gettimeofday(&tv, 0); 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. */ Strings args, remaining; while (argc--) args.push_back(*argv++); |