projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efda0ff
)
exec plugin: Don't assign variable that is never read.
author
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 15:38:41 +0000
(17:38 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 17 Jun 2015 15:38:41 +0000
(17:38 +0200)
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
cfd82a3
..
1812400
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-338,7
+338,7
@@
static void exec_child (program_list_t *pl, int uid, int gid, int egid) /* {{{ *
exit (-1);
}
-
status =
execvp (pl->exec, pl->argv);
+ execvp (pl->exec, pl->argv);
ERROR ("exec plugin: Failed to execute ``%s'': %s",
pl->exec, sstrerror (errno, errbuf, sizeof (errbuf)));