git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TODO: 'file' command should be fixed.
[libguestfs.git]
/
tools
/
virt-win-reg
diff --git
a/tools/virt-win-reg
b/tools/virt-win-reg
index
91a1673
..
afa8087
100755
(executable)
--- a/
tools/virt-win-reg
+++ b/
tools/virt-win-reg
@@
-280,7
+280,6
@@
my %fses =
my $oses = inspect_operating_systems ($g, \%fses);
my @roots = keys %$oses;
my $oses = inspect_operating_systems ($g, \%fses);
my @roots = keys %$oses;
-die __"no root device found in this operating system image" if @roots == 0;
die __"multiboot operating systems are not supported by virt-win-reg" if @roots > 1;
my $root_dev = $roots[0];
die __"multiboot operating systems are not supported by virt-win-reg" if @roots > 1;
my $root_dev = $roots[0];
@@
-338,7
+337,7
@@
else { # Import mode.
%hives = ();
# Look in the tmpdir for all the hive files which have been
%hives = ();
# Look in the tmpdir for all the hive files which have been
- #
downloaded / modified by the import mapper, and upload
+ #
downloaded / modified by the import mapper, and upload
# each one.
opendir my $dh, $tmpdir or die "$tmpdir: $!";
foreach (readdir $dh) {
# each one.
opendir my $dh, $tmpdir or die "$tmpdir: $!";
foreach (readdir $dh) {