procd: fix service file tracking
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 18 Dec 2013 15:38:28 +0000 (15:38 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 18 Dec 2013 15:38:28 +0000 (15:38 +0000)
commitd2908ef8883da1c4bcb9f7e682d689c9dd18fae6
treeaeea391bb903318a1db54e004da1cdf8f5e89cfd
parentafc8adc5cb7bd6a4f8af70ad605d608ae6164e9f
procd: fix service file tracking

The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.

Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.

Add a missing instance of blobmsg_list_free() as well.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39132 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/Makefile