summaryrefslogtreecommitdiffstats
path: root/tools/virt-make-fs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virt-make-fs')
-rwxr-xr-xtools/virt-make-fs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/virt-make-fs b/tools/virt-make-fs
index 7d032804..b53e8607 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -539,9 +539,8 @@ eval {
}
print STDERR "finishing off\n" if $debug;
- $g->umount_all ();
- $g->sync ();
- undef $g;
+ $g->shutdown ();
+ $g->close ()
};
if ($@) {
# Error: delete the output before exiting.