summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-04 04:55:33 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-04 04:55:33 +0200
commit5bd0707340570f48675a53f5dec8dd34b162e415 (patch)
tree114026c2b38b106da97025bfa73184a0e49ad9ec /src/systemctl.c
parentf295f5c0c0a31afd1914adf5d8a4d7f51e8e0be0 (diff)
dbus: complete automount and mount unit coverage
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index dddd689332..66d6ef038b 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -1039,7 +1039,7 @@ static int print_property(const char *name, DBusMessageIter *iter) {
uint32_t u;
dbus_message_iter_get_basic(iter, &u);
- if (strstr(name, "UMask"))
+ if (strstr(name, "UMask") || strstr(name, "Mode"))
printf("%s=%04o\n", name, u);
else
printf("%s=%u\n", name, (unsigned) u);