diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-21 04:25:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-21 04:25:48 +0200 |
commit | 05d6a3b6cff405e43fd95a26e342b9233b21269b (patch) | |
tree | 64283391943394b3bfe0eb0122b2b48849e2e8bd /src/systemctl.c | |
parent | b0c918b97f1abb160d8df2b94deb03efcb4fcf8f (diff) |
manager: calculate progress value while booting
Diffstat (limited to 'src/systemctl.c')
-rw-r--r-- | src/systemctl.c | 8 |
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); |