dump_settings: ignores failure unless flag is set to false

Change-Id: Id7c0ce4c34939fd1cabef3e832f082fd1f375ab5