summaryrefslogtreecommitdiff
path: root/src/dbus-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-30 00:47:50 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-30 00:47:50 +0200
commit72bc8d005654ad30838edfe9373109a49cc29448 (patch)
treea891c6319589f493234f4cbe1af863714fc100e4 /src/dbus-manager.c
parentea87ca5a9ee9c82b456a54747d442c715ff26bee (diff)
manager: fix taint check for /usr
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r--src/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c
index c21cb5f576..a2a25b72ff 100644
--- a/src/dbus-manager.c
+++ b/src/dbus-manager.c
@@ -223,7 +223,7 @@ static int bus_manager_append_tainted(Manager *m, DBusMessageIter *i, const char
assert(i);
assert(property);
- if (dir_is_empty("/usr") > 0)
+ if (m->taint_usr)
e = stpcpy(e, "usr-separate-fs");
if (readlink_malloc("/etc/mtab", &p) < 0) {