debian: Don't unload kernel modules in init script on "stop" or "restart".
[openvswitch] / lib / process.c
index 0c7f424fc84cb01324d70b3b15147978b59029b3..12168f7e21289cd07fc65db66f89078d65d3e9cf 100644 (file)
@@ -289,7 +289,7 @@ process_exited(struct process *p)
         return true;
     } else {
         char buf[_POSIX_PIPE_BUF];
-        read(fds[0], buf, sizeof buf);
+        ignore(read(fds[0], buf, sizeof buf));
         return false;
     }
 }
@@ -617,7 +617,7 @@ sigchld_handler(int signr UNUSED)
             }
         }
     }
-    write(fds[1], "", 1);
+    ignore(write(fds[1], "", 1));
 }
 
 static bool