diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-07 20:42:58 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-07 20:42:58 -0400 |
commit | e66047ff62c971eefa32b42373420d61e3f2a9c1 (patch) | |
tree | bbc8cf991b4e45f5c7614ed446674a2472643b50 /src/core/load-dropin.c | |
parent | 17a6dfa3be0ac9d9b84b57c8af66515b573fc1a4 (diff) |
core: do not add dependencies to self
Adds a pair of files which cause a segfault (also with
systemd-analyze verify).
https://bugzilla.redhat.com/show_bug.cgi?id=1124843
Diffstat (limited to 'src/core/load-dropin.c')
-rw-r--r-- | src/core/load-dropin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-dropin.c b/src/core/load-dropin.c index 21c991526c..ffc68b4d73 100644 --- a/src/core/load-dropin.c +++ b/src/core/load-dropin.c @@ -181,7 +181,7 @@ int unit_load_dropin(Unit *u) { } u->dropin_paths = unit_find_dropin_paths(u); - if (! u->dropin_paths) + if (!u->dropin_paths) return 0; STRV_FOREACH(f, u->dropin_paths) { |