Skip to content

Commit

Permalink
core.app: fix bug in snabbco#766, use app.shmpath during reconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Jun 10, 2016
1 parent 90fc893 commit ceb080f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ceb080f

Please sign in to comment.