summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-04-06 14:14:15 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-04-06 14:21:10 -0500
commit3b8d055ca761a68c74dad01a306f238674d71878 (patch)
treedd3e642fd7d9bda011744770e0df3b1635eefa3a /configure.ac
parent0e72d933c0716a2b93003aba34c325e77a1d7646 (diff)
downloadphosphor-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
OpenPOWER on IntegriCloud