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-07-17 12:34:51 +0100
commitf6846d74c947bd8b711ef0b29148fa1e90580354 (patch)
tree4e0c05e3a78e5b100b6900f677b48d7351027b5b /perl
parenta99ea198b24745c49cdb42645c3497ac3b0e6a2f (diff)
downloadlibguestfs-f6846d74c947bd8b711ef0b29148fa1e90580354.tar.gz
libguestfs-f6846d74c947bd8b711ef0b29148fa1e90580354.tar.xz
libguestfs-f6846d74c947bd8b711ef0b29148fa1e90580354.zip
perl: In examples, call $g->shutdown, $g->close.
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 9686a2f1..814946e9 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