chiark / gitweb /
util: replace close_pipe() with new safe_close_pair()
[elogind.git] / src / core / automount.c
index 77d80b2..65e6d6f 100644 (file)
@@ -532,7 +532,7 @@ static void automount_enter_waiting(Automount *a) {
         return;
 
 fail:
-        close_pipe(p);
+        safe_close_pair(p);
 
         if (mounted)
                 repeat_unmount(a->where);