From: Tobias Ulmer Date: Fri, 8 Nov 2013 18:14:47 +0000 (+0100) Subject: Remove global interactive flag X-Git-Tag: e2factory-2.3.15rc1~401 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=d5f35fb611de7f6b8aaf67f7224fe291273802e8;p=e2factory.git Remove global interactive flag Was probably once used to enter a debug mode. Since that's no more, axe the variable. Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 013c492..b4bcebb 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -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,