chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: handle nicely of certain unit types are not supported on specific systems
[elogind.git]
/
src
/
shared
/
path-util.c
diff --git
a/src/shared/path-util.c
b/src/shared/path-util.c
index be03695cf866e06fcc3c33d59e524a233e81f33b..b3fe0b81791f618949b4cbac1b183f3ba3e0b858 100644
(file)
--- a/
src/shared/path-util.c
+++ b/
src/shared/path-util.c
@@
-129,7
+129,7
@@
char *path_make_absolute_cwd(const char *p) {
if (!cwd)
return NULL;
- return
path_make_absolute(p, cwd
);
+ return
strjoin(cwd, "/", p, NULL
);
}
int path_make_relative(const char *from_dir, const char *to_path, char **_r) {