]> git.e2factory.org Git - e2factory.git/commitdiff
plugin: on init_plugins() error, disable exit_plugins()
authorTobias Ulmer <tu@emlix.com>
Wed, 25 Jan 2017 16:36:00 +0000 (17:36 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 30 Jan 2017 13:33:34 +0000 (14:33 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/plugin.lua

index 9f47e272a300aede41d1d1c312001760492b5b3b..c895dd2721c6c5e10c780ee7ac3df968c714a001 100644 (file)
@@ -222,6 +222,7 @@ function plugin.init_plugins()
 
     plugins, re = plugin_tsort(plugins)
     if not plugins then
+        plugins = {}
         return false, e:cat(re)
     end