use '__linux__' instead of '__linux' (reported by Ola Lundqvist)
[util-vserver.git] / util-vserver / src / rpm-fake-resolver.c
index 85e1f57..e076d8b 100644 (file)
@@ -238,7 +238,7 @@ daemonize(struct ArgInfo const UNUSED * args, int pid_fd)
     _exit(0);
   }
   Eclose(p[1]);
-  read(p[0], &c, 1);
+  TEMP_FAILURE_RETRY(read(p[0], &c, 1));
   Eclose(p[0]);
 }