From: Lennart Poettering Date: Sat, 19 Jan 2013 00:18:01 +0000 (+0100) Subject: unit: fix typo X-Git-Tag: v198~456 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6d3a739048deab5c10a0debdad788e19898144cc unit: fix typo --- diff --git a/src/core/unit.c b/src/core/unit.c index 98237c814..b2a47653b 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -2769,7 +2769,7 @@ int unit_write_drop_in(Unit *u, bool runtime, const char *name, const char *data if (!filename_is_safe(name)) return -EINVAL; - p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/systemd/", u->id, ".d", NULL); + p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system/", u->id, ".d", NULL); if (!p) return -ENOMEM; @@ -2792,7 +2792,7 @@ int unit_remove_drop_in(Unit *u, bool runtime, const char *name) { if (!filename_is_safe(name)) return -EINVAL; - p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/systemd/", u->id, ".d", NULL); + p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system/", u->id, ".d", NULL); if (!p) return -ENOMEM;