projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7757cfb
)
importd: make sure we don't accidentally close fd 0
author
Lennart Poettering
<lennart@poettering.net>
Tue, 22 Sep 2015 14:40:36 +0000
(16:40 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 22 Sep 2015 14:40:36 +0000
(16:40 +0200)
Fixes #1330
src/import/importd.c
patch
|
blob
|
history
diff --git
a/src/import/importd.c
b/src/import/importd.c
index
b91300a
..
c90ada5
100644
(file)
--- a/
src/import/importd.c
+++ b/
src/import/importd.c
@@
-167,6
+167,7
@@
static int transfer_new(Manager *m, Transfer **ret) {
t->type = _TRANSFER_TYPE_INVALID;
t->log_fd = -1;
t->stdin_fd = -1;
+ t->stdout_fd = -1;
t->verify = _IMPORT_VERIFY_INVALID;
id = m->current_transfer_id + 1;