Commit: e5ab6013e6a15f813e00e77183de03d129e3e738
Parent: ddb5ed791827f4c39f077266c3a581eac6c78393
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-02-28 18:54:47
Tree: 709c2cdcf30307b20cc5f04451a9b3203c687a9a

mesh: Cleanup storage save and remove procedures To remove a node config directory completely, the directory needs to be empty. Both node.json and node,json.bak files must are deleted. Also, change storage_save_config() type to void to eliminate meaningless checks.

Diffstat

M mesh/node.c | 14 ++++++++++- - - -
M mesh/node.h | 1 +
M mesh/storage.c | 34 ++++++++++++++++++++++++- - - - - - - - - -
M mesh/storage.h | 2 +-

4 files changed, 36 insertions(+), 15 deletions(-)

View Full Diff | Patch