Hi! > stop_children(); > + waitpid(child_pid1, &child_stat, 0); > + waitpid(child_pid2, &child_stat, 0); > + waitpid(child_pid3, &child_stat, 0); > + child_pid1 = 0; > + child_pid2 = 0; > + child_pid3 = 0; I've moved these lines to the stop_children() function and pushed, thanks. -- Cyril Hrubis chrubis@suse.cz