summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-22 04:17:38 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-22 04:31:20 +0200
commitc800e483748a8bb68ed405094c265954c7e605dc (patch)
treeca2b765e04ad191c365b971f9779d7ed2a670742 /src/systemctl.c
parentd8eaa1144f7ea921ae9eb4bba1f6a7c1797c9435 (diff)
path-lookup: make inclusion of user private units optional
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 3767e22135..63eb3245d0 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -4139,7 +4139,7 @@ static int enable_unit(DBusConnection *bus, char **args, unsigned n) {
dbus_error_init(&error);
zero(paths);
- if ((r = lookup_paths_init(&paths, arg_user ? MANAGER_USER : MANAGER_SYSTEM)) < 0) {
+ if ((r = lookup_paths_init(&paths, arg_user ? MANAGER_USER : MANAGER_SYSTEM, true)) < 0) {
log_error("Failed to determine lookup paths: %s", strerror(-r));
goto finish;
}