summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 525e2f0b17..2525967bcc 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -2003,6 +2003,14 @@ static int print_property(const char *name, DBusMessageIter *iter) {
return 0;
}
+ case DBUS_TYPE_DOUBLE: {
+ double d;
+ dbus_message_iter_get_basic(iter, &d);
+
+ printf("%s=%g\n", name, d);
+ return 0;
+ }
+
case DBUS_TYPE_STRUCT: {
DBusMessageIter sub;
dbus_message_iter_recurse(iter, &sub);