diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-22 04:17:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-22 04:31:20 +0200 |
commit | c800e483748a8bb68ed405094c265954c7e605dc (patch) | |
tree | ca2b765e04ad191c365b971f9779d7ed2a670742 /src/systemctl.c | |
parent | d8eaa1144f7ea921ae9eb4bba1f6a7c1797c9435 (diff) |
path-lookup: make inclusion of user private units optional
Diffstat (limited to 'src/systemctl.c')
-rw-r--r-- | src/systemctl.c | 2 |
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; } |