summaryrefslogtreecommitdiff
path: root/vswitchd/system-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'vswitchd/system-stats.c')
-rw-r--r--vswitchd/system-stats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vswitchd/system-stats.c b/vswitchd/system-stats.c
index 9c5a25c5e..b8f8d7e33 100644
--- a/vswitchd/system-stats.c
+++ b/vswitchd/system-stats.c
@@ -22,7 +22,6 @@
#if HAVE_MNTENT_H
#include <mntent.h>
#endif
-#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -414,7 +413,7 @@ get_process_stats(struct shash *stats)
file_name = xasprintf("%s/%s", ovs_rundir(), de->d_name);
pid = read_pidfile(file_name);
free(file_name);
- if (pid < 0 || kill(pid, 0)) {
+ if (pid < 0) {
continue;
}