* plugbasedclient.c (main): Check if plugin dir could be opened. Set FD_CLOEXEC on the directory, if possible, and also on both ends of the pipe. Do not allocate buffer for process in advance. Free the plugin list. Bug fix: exit if no plugins found, not if any found. Set "exitstatus" in many places. Simplify and un-indent the loop reading process pipes. Renamed process list iterator to "proc". Bug fix: retry password write on EINTR. Free the process list properly, including the process structs themselves.