mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-08 20:27:47 +00:00
Only mark config file to modified if actually modified
Signed-off-by: Gabor Mezei <[email protected]>
This commit is contained in:
@@ -114,7 +114,7 @@ class Config:
|
||||
"""
|
||||
if name in self.settings:
|
||||
setting = self.settings[name]
|
||||
if setting.value != value or not setting.active:
|
||||
if (value is not None and setting.value != value) or not setting.active:
|
||||
setting.configfile.modified = True
|
||||
if value is not None:
|
||||
setting.value = value
|
||||
|
||||
Reference in New Issue
Block a user