[systemd-commits] src/core
Lennart Poettering
lennart at kemper.freedesktop.org
Fri Jan 18 16:20:33 PST 2013
src/core/unit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6d3a739048deab5c10a0debdad788e19898144cc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Jan 19 01:18:01 2013 +0100
unit: fix typo
diff --git a/src/core/unit.c b/src/core/unit.c
index 98237c8..b2a4765 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;
More information about the systemd-commits
mailing list