summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/run.c')
-rw-r--r--libglusterfs/src/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/run.c b/libglusterfs/src/run.c
index 052a2fdb5..41601209c 100644
--- a/libglusterfs/src/run.c
+++ b/libglusterfs/src/run.c
@@ -312,7 +312,7 @@ runner_start (runner_t *runner)
execvp (runner->argv[0], runner->argv);
}
- write (xpi[1], &errno, sizeof (errno));
+ ret = write (xpi[1], &errno, sizeof (errno));
_exit (1);
}