summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-17 12:34:51 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-08-05 21:15:25 +0100
commitf27e3a2b0552b8475908a430bfff2af24b1175c6 (patch)
treebade92fc7ca49831f13697de049ed16ee6045cce /perl
parenta9a8f66ae82029f905705f313f807fa8d1f0e1d3 (diff)
downloadlibguestfs-f27e3a2b0552b8475908a430bfff2af24b1175c6.tar.gz
libguestfs-f27e3a2b0552b8475908a430bfff2af24b1175c6.tar.xz
libguestfs-f27e3a2b0552b8475908a430bfff2af24b1175c6.zip
perl: In examples, call $g->shutdown, $g->close.
(cherry picked from commit f6846d74c947bd8b711ef0b29148fa1e90580354)
Diffstat (limited to 'perl')
-rw-r--r--perl/examples/guestfs-perl.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/examples/guestfs-perl.pod b/perl/examples/guestfs-perl.pod
index 9d06b74a..76cf29ef 100644
--- a/perl/examples/guestfs-perl.pod
+++ b/perl/examples/guestfs-perl.pod
@@ -13,7 +13,8 @@ guestfs-perl - How to use libguestfs from Perl
$g->launch ();
$g->mount_options ('', '/dev/sda1', '/');
$g->touch ('/hello');
- $g->sync ();
+ $g->shutdown ();
+ $g->close ();
=head1 DESCRIPTION