about summary refs log tree commit diff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-12T23·19+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-12T23·19+0200
commit401ab50566fc40e563e154b6db7dfb2f17293879 (patch)
tree81deddb0fb7b0ce5e89b136a60c2932401f3130f /src/libmain
parent57695d8f7630581c53ab37fe4123f92a3b1f426e (diff)
Remove pointless NIX_LOG_TYPE environment variable
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 47c38e33e67b..467a15e76023 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++);