diff options
Diffstat (limited to 'src/core/dbus-util.h')
-rw-r--r-- | src/core/dbus-util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/dbus-util.h b/src/core/dbus-util.h index a3316c6701..ec8c245fff 100644 --- a/src/core/dbus-util.h +++ b/src/core/dbus-util.h @@ -127,7 +127,8 @@ int bus_property_get_triggered_unit(sd_bus *bus, const char *path, const char *i if (!UNIT_WRITE_FLAGS_NOOP(flags)) { \ *p = (cast_type) v; \ unit_write_settingf(u, flags, name, \ - "%s=%s", name, s); \ + "%s=%s", \ + name, strempty(s)); \ } \ \ return 1; \ |