chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: require $XDG_RUNTIME_DIR to be set for user instances
[elogind.git]
/
src
/
core
/
execute.c
diff --git
a/src/core/execute.c
b/src/core/execute.c
index e04f46f03670f1f82a813b3548ff23152c1ed2a8..3ae28ee080af0531863c13da866d393c826f1474 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-2214,7
+2214,8
@@
int exec_command_set(ExecCommand *c, const char *path, ...) {
if (!l)
return -ENOMEM;
- if (!(p = strdup(path))) {
+ p = strdup(path);
+ if (!p) {
strv_free(l);
return -ENOMEM;
}