From ceb080f6dd40ea5d7173197d2e06e3fc6e16dcf1 Mon Sep 17 00:00:00 2001 From: Max Rottenkolber Date: Fri, 10 Jun 2016 13:10:20 +0200 Subject: [PATCH] core.app: fix bug in #766, use app.shmpath during reconfig. --- src/core/app.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/app.lua b/src/core/app.lua index 94d08a0e23..38a1973bf3 100644 --- a/src/core/app.lua +++ b/src/core/app.lua @@ -206,7 +206,10 @@ function apply_config_actions (actions, conf) if app_table[name].reconfig then local arg = conf.apps[name].arg local app = app_table[name] + local shmorig = shm.path + shm.path = app.shmpath app:reconfig(arg) + shm.path = shmorig new_app_table[name] = app table.insert(new_app_array, app) app_name_to_index[name] = #new_app_array