projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983130e
)
warn
author
Christian Grothoff
<christian@grothoff.org>
Wed, 4 May 2011 21:14:32 +0000
(21:14 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 4 May 2011 21:14:32 +0000
(21:14 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 0ba8dbfdafb895337ccede474eebd3b25244eb7c..2f300f4bd6030939086a9ed135f3b00e57fc7405 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-773,7
+773,8
@@
GNUNET_SCHEDULER_run (GNUNET_SCHEDULER_Task task, void *task_cls)
snprintf (lsof, sizeof (lsof), "lsof -p %d", getpid());
(void) close (1);
(void) dup2 (2, 1);
- (void) system (lsof);
+ if (0 != system (lsof))
+ GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "system");
#endif
#endif
abort ();