chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
80d2273
)
unit: fix typo
author
Lennart Poettering
<lennart@poettering.net>
Sat, 19 Jan 2013 00:18:01 +0000
(
01:18
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 19 Jan 2013 00:18:01 +0000
(
01:18
+0100)
src/core/unit.c
patch
|
blob
|
history
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 98237c81472d5b2095db445cad4732b41978e8a5..b2a47653b66061fe8c4e60edafb8159010cdc3fb 100644
(file)
--- 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;
if (!filename_is_safe(name))
return -EINVAL;
- p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system
d
/", u->id, ".d", NULL);
+ p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system/", u->id, ".d", NULL);
if (!p)
return -ENOMEM;
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;
if (!filename_is_safe(name))
return -EINVAL;
- p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system
d
/", u->id, ".d", NULL);
+ p = strjoin(runtime ? "/run/systemd/system/" : "/etc/systemd/system/", u->id, ".d", NULL);
if (!p)
return -ENOMEM;
if (!p)
return -ENOMEM;