]> git.e2factory.org Git - e2factory.git/commitdiff
Remove global interactive flag
authorTobias Ulmer <tu@emlix.com>
Fri, 8 Nov 2013 18:14:47 +0000 (19:14 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:16 +0000 (15:41 +0100)
Was probably once used to enter a debug mode. Since that's no more,
axe the variable.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua

index 013c492944fa59c530c1ce78fb549621b0c20227..b4bcebb7d29da101ad1e0eff6f18fd7e80dfc880 100644 (file)
@@ -58,13 +58,6 @@ local eio = require("eio")
 local le2lib = require("le2lib")
 local trace = require("trace")
 
--- Module-level global variables
---
---   globals.interactive -> BOOL
---
---     True, when lua was started in interactive mode (either by giving
---     the "-i" option or by starting lua and loading the e2 files
---     manually).
 local global_config = false
 
 e2lib.globals = {
@@ -77,7 +70,6 @@ e2lib.globals = {
     log_debug = false,
     debug = false,
     playground = false,
-    interactive = arg and (arg[ -1 ] == "-i"),
     -- variables initialized in init()
     username = nil,
     homedir = nil,