diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-04-06 14:14:15 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-06 14:21:10 -0500 |
commit | 3b8d055ca761a68c74dad01a306f238674d71878 (patch) | |
tree | dd3e642fd7d9bda011744770e0df3b1635eefa3a /configure.ac | |
parent | 0e72d933c0716a2b93003aba34c325e77a1d7646 (diff) | |
download | phosphor-settingsd-3b8d055ca761a68c74dad01a306f238674d71878.tar.gz phosphor-settingsd-3b8d055ca761a68c74dad01a306f238674d71878.zip |
Restore settings to default on error
In the event that the value read from a persistence file is
invalid, currently a ValueError exception is thrown and the
settingsd fails to run. Instead, catch this condition and
restore the setting to default.
Fixes openbmc/openbmc#1442.
Change-Id: I22ce8837d9c48b21bab050f1de9b730ec219bc4b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions