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