projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
580fa3a
)
Merge branch 'master' of git.omp.am:/home/omp/git/conky
author
Cesare Tirabassi
<norsetto@ubuntu.com>
Wed, 29 Jul 2009 16:04:57 +0000
(18:04 +0200)
committer
Cesare Tirabassi
<norsetto@ubuntu.com>
Wed, 29 Jul 2009 16:04:57 +0000
(18:04 +0200)
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
cd29ba7
..
4bc7ec0
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-675,6
+675,7
@@
FILE* pid_popen(const char *command, const char *mode, pid_t *child) {
return NULL;
} else if(*child > 0) {
close(childend);
+ waitpid(*child, NULL, WNOHANG);
} else {
//don't read from both stdin and pipe or write to both stdout and pipe
if(childend == ends[0]) {