fade.c: Fix client_cmd()
authorAndre Noll <maan@systemlinux.org>
Sat, 17 Nov 2007 17:13:55 +0000 (18:13 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 17 Nov 2007 17:13:55 +0000 (18:13 +0100)
commit0b5f380ddc094b9dc3741dc2beaf7b775e4946d6
tree34e4307b1e30b399cd78e6f84680e9b6023014d9
parentd013a58cb2f7ed1a36b666a7ca1f9406a92d04bd
fade.c: Fix client_cmd()

We have to wait for children to terminate because otherwise the
client commands may be executed in random order.

Since no caller checked the return value of client_cmd(), make it
abort on errors and change the return value to void.

Also, each caller only passed one string, so make it take only a
char * pointer.
fade.c