chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v234.2: Apply upstream fixes in src/basic (3/6)
[elogind.git]
/
src
/
basic
/
exec-util.c
diff --git
a/src/basic/exec-util.c
b/src/basic/exec-util.c
index e542d5c93ec22c43c2819cf8ffa26695dea97566..c4fea735c43c69b385207dfa038b032bad63c705 100644
(file)
--- a/
src/basic/exec-util.c
+++ b/
src/basic/exec-util.c
@@
-130,7
+130,7
@@
static int do_execute(
STRV_FOREACH(path, paths) {
_cleanup_free_ char *t = NULL;
_cleanup_close_ int fd = -1;
- pid_t pid;
+ pid_t pid
= 0
;
t = strdup(*path);
if (!t)