summaryrefslogtreecommitdiff
path: root/src/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/manager.c
parentea87ca5a9ee9c82b456a54747d442c715ff26bee (diff)
manager: fix taint check for /usr
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c
index 69d231a85f..faf30dc49e 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -278,6 +278,8 @@ int manager_new(ManagerRunningAs running_as, Manager **_m) {
log_error("Failed to connect to audit log: %m");
#endif
+ m->taint_usr = dir_is_empty("/usr") > 0;
+
*_m = m;
return 0;