mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-01 20:58:21 +03:00
sd-bus: fix copy-paste error
This commit is contained in:
parent
92ff080be1
commit
23539f6779
@ -219,7 +219,7 @@ _public_ int sd_bus_release_name(sd_bus *bus, const char *name) {
|
||||
assert_return(service_name_is_valid(name), -EINVAL);
|
||||
assert_return(name[0] != ':', -EINVAL);
|
||||
|
||||
/* Don't allow requesting the special driver and local names */
|
||||
/* Don't allow releasing the special driver and local names */
|
||||
if (STR_IN_SET(name, "org.freedesktop.DBus", "org.freedesktop.DBus.Local"))
|
||||
return -EINVAL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user