Displaying 1 result from an estimated 1 matches for "3493d79".
2012 Mar 08
1
[PATCH] Fix the default value of "pgroup".
...@ main (int argc, char *argv[])
sigaction (SIGINT, &sa, NULL);
sigaction (SIGQUIT, &sa, NULL);
- guestfs_set_pgroup (g, 1);
+ guestfs_set_pgroup (g, 0);
}
/* Old-style -i syntax? Since -a/-d/-N and -i was disallowed
diff --git a/src/guestfs.c b/src/guestfs.c
index 3493d79..2ff506b 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -143,6 +143,9 @@ guestfs_create (void)
*/
g->msg_next_serial = 0x00123400;
+ /* Default is 'false' to allow users to interrupt the subprocess. */
+ g->pgroup = 0;
+
/* Default is uniprocessor appliance. */
g-&...