projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e8009d
)
execute: make things a tiny bit shorter
author
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2019 15:39:45 +0000
(16:39 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2019 15:53:45 +0000
(16:53 +0100)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 0336083b0e20998b6618f81ae7e1c6b610e9dc92..8f0e80290ccfcd79f6ba5d8c7899482cfc4722f4 100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-4940,7
+4940,7
@@
static int exec_runtime_add(
static int exec_runtime_make(Manager *m, const ExecContext *c, const char *id, ExecRuntime **ret) {
_cleanup_free_ char *tmp_dir = NULL, *var_tmp_dir = NULL;
- _cleanup_close_pair_ int netns_storage_socket[2] = {
-1, -1
};
+ _cleanup_close_pair_ int netns_storage_socket[2] = {
-1, -1
};
int r;
assert(m);
@@
-4967,8
+4967,7
@@
static int exec_runtime_make(Manager *m, const ExecContext *c, const char *id, E
return r;
/* Avoid cleanup */
- netns_storage_socket[0] = -1;
- netns_storage_socket[1] = -1;
+ netns_storage_socket[0] = netns_storage_socket[1] = -1;
return 1;
}