summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-19 01:18:01 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-19 01:18:01 +0100
commit6d3a739048deab5c10a0debdad788e19898144cc (patch)
treea5dcddf20c264401f6d8fb1d0e694838880393a0 /src
parent80d22739a7a21be1d77c4cc4e41365cb41dae19f (diff)
unit: fix typo
Diffstat (limited to 'src')
-rw-r--r--src/core/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 98237c8147..b2a47653b6 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;