Report when unable to save the configuration
This commit is contained in:
parent
78e3ab200f
commit
f8ff80cf53
|
@ -497,7 +497,7 @@ int camera_save(Camera * camera)
|
||||||
if(config != NULL)
|
if(config != NULL)
|
||||||
config_delete(config);
|
config_delete(config);
|
||||||
free(filename);
|
free(filename);
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _save_variable_bool(Camera * camera, Config * config,
|
static int _save_variable_bool(Camera * camera, Config * config,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user