diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-14 21:46:59 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-14 23:03:21 -0400 |
commit | a8ffe6fbcbfdba39aef8dce8b298b3e0cb377c0e (patch) | |
tree | 3e138d4ade18fa6741d98284686b07cbab8cfe6a /src/shared/path-lookup.c | |
parent | 51bfdaf66c381793d2f39ad891f3411a55927da6 (diff) |
sysv-generator: initialize LookupPaths just once
With debugging on, sysv-generator would print the full set of
lookup paths for *every* sysv script.
While at it, pass LookupPaths as a pointer in sysv-generator,
and constify it everywhere.
Diffstat (limited to 'src/shared/path-lookup.c')
-rw-r--r-- | src/shared/path-lookup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index fbf46cd406..fb2c2c233a 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -28,6 +28,7 @@ #include "strv.h" #include "path-util.h" #include "path-lookup.h" +#include "install.h" int user_config_home(char **config_home) { const char *e; |