mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
config: Allow setting a key to the empty string
This commit is contained in:
parent
a67bbf1ac4
commit
e11fb83bb7
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!value_to_write.is_empty()) {
|
if (!value_to_write.is_null()) {
|
||||||
Config::write_string(domain, group, key, value_to_write);
|
Config::write_string(domain, group, key, value_to_write);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue