Merge "base: rename unique_fd::clear() to unique_fd::reset()."
diff --git a/shell_service.cpp b/shell_service.cpp
index 01e206a..b0b31f1 100644
--- a/shell_service.cpp
+++ b/shell_service.cpp
@@ -493,10 +493,10 @@
                 // We also need to close the pipes connected to the child process
                 // so that if it ignores SIGHUP and continues to write data it
                 // won't fill up the pipe and block.
-                stdinout_sfd_.clear();
-                stderr_sfd_.clear();
+                stdinout_sfd_.reset();
+                stderr_sfd_.reset();
             }
-            dead_sfd->clear();
+            dead_sfd->reset();
         }
     }
 }