runas: use waitpid instead of wait
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 6 Jan 2012 21:52:28 +0000 (16:52 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 6 Jan 2012 21:52:28 +0000 (16:52 -0500)
commit47fb756380d79f439e0650841048cd2550d48903
tree680f7503439d78546f8378f1409a78ab3e44fff8
parent032b4c39497803950fd2cd1d5352506ea3f0cbf7
runas: use waitpid instead of wait

Deal with multithreading by waiting specifically for the pid we cloned.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
librunas/runas.c
This page took 0.035301 seconds and 4 git commands to generate.