Hi! > + /* Wait for the child to exit */ > + if (waitpid(pid_arr[i], &status, 0) != pid_arr[i] && > + !WIFEXITED(status)) Please use SAFE_WAITPID() here, otherwise it's fine. -- Cyril Hrubis chrubis@suse.cz