fish: remote: Make sure global cleanups are called for guestfish --listen.

Return to the main program ('fish.c') and perform global cleanups when
the guestfish remote server exits.
This commit is contained in:
Richard W.M. Jones
2012-03-12 15:13:29 +00:00
parent b3a9e81868
commit f7c744bbf8
3 changed files with 5 additions and 2 deletions

View File

@@ -310,7 +310,8 @@ rc_listen (void)
}
unlink (sockpath);
exit (EXIT_SUCCESS);
/* This returns to 'fish.c', where it jumps to global cleanups and exits. */
}
/* Remote control client. */