git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.15.11.
[libguestfs.git]
/
fish
/
guestfish.pod
diff --git
a/fish/guestfish.pod
b/fish/guestfish.pod
index
022e03e
..
ea0b3aa
100644
(file)
--- a/
fish/guestfish.pod
+++ b/
fish/guestfish.pod
@@
-996,14
+996,15
@@
and cleans up guestfish when the script exits:
exit 1
fi
exit 1
fi
-
kill
_guestfish ()
+
cleanup
_guestfish ()
{
{
-
kill $GUESTFISH_PID
>/dev/null 2>&1 ||:
+
guestfish --remote -- exit
>/dev/null 2>&1 ||:
}
}
- trap
kill_guestfish EXIT
+ trap
cleanup_guestfish EXIT ERR
- guestfish --remote run
- # etc.
+ guestfish --remote -- run
+
+ # ...
=head2 REMOTE CONTROL RUN COMMAND HANGING
=head2 REMOTE CONTROL RUN COMMAND HANGING
@@
-1313,4
+1314,4
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.