summaryrefslogtreecommitdiffstats
path: root/src/launch-libvirt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch-libvirt.c')
-rw-r--r--src/launch-libvirt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index bedd5ea1..788ca17c 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -312,7 +312,7 @@ launch_libvirt (guestfs_h *g, const char *libvirt_uri)
}
g->sock = r; /* This is the accepted data socket. */
- if (fcntl (g->sock, F_SETFL, O_NONBLOCK|O_CLOEXEC) == -1) {
+ if (fcntl (g->sock, F_SETFL, O_NONBLOCK) == -1) {
perrorf (g, "fcntl");
goto cleanup;
}