]> git.proxmox.com Git - qemu.git/blobdiff - qemu-img.c
Merge remote-tracking branch 'pmaydell/tags/pull-arm-devs-20130812' into staging
[qemu.git] / qemu-img.c
index dece1b3a3aeda8cbf47a290399d44181f980a54b..b9a848db74de8c77e8a009669ac72fe048bc71cc 100644 (file)
@@ -2322,6 +2322,10 @@ int main(int argc, char **argv)
     const img_cmd_t *cmd;
     const char *cmdname;
 
+#ifdef CONFIG_POSIX
+    signal(SIGPIPE, SIG_IGN);
+#endif
+
     error_set_progname(argv[0]);
 
     qemu_init_main_loop();