git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Add guestfish 'lvcreate 1M' gotcha.
[libguestfs.git]
/
tools
/
virt-edit
diff --git
a/tools/virt-edit
b/tools/virt-edit
index
e00e4cf
..
ca8e576
100755
(executable)
--- a/
tools/virt-edit
+++ b/
tools/virt-edit
@@
-139,7
+139,7
@@
my $root_dev = $roots[0];
my $os = $oses->{$root_dev};
mount_operating_system ($g, $os, 0);
my $os = $oses->{$root_dev};
mount_operating_system ($g, $os, 0);
-my ($fh
, $tempname) = tempfile (
);
+my ($fh
_not_used, $tempname) = tempfile (UNLINK => 1
);
# Allow this to fail in case eg. the file does not exist.
$g->download($filename, $tempname);
# Allow this to fail in case eg. the file does not exist.
$g->download($filename, $tempname);