mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: remote: Output from close event now passed over stdout (RHBZ#802389).
This commit is contained in:
@@ -291,6 +291,15 @@ rc_listen (void)
|
||||
|
||||
xdr_free ((xdrproc_t) xdr_guestfish_call, (char *) &call);
|
||||
|
||||
/* RHBZ#802389: If the command is quit, close the handle right
|
||||
* away. Note that the main while loop will exit preventing
|
||||
* 'g' from being reused.
|
||||
*/
|
||||
if (quit) {
|
||||
guestfs_close (g);
|
||||
g = NULL;
|
||||
}
|
||||
|
||||
/* Send the reply. */
|
||||
xdrstdio_create (&xdr2, fp, XDR_ENCODE);
|
||||
(void) xdr_guestfish_reply (&xdr2, &reply);
|
||||
|
||||
Reference in New Issue
Block a user