X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=inspector%2Fvirt-inspector.pl;h=cd5427a546210c3604c998817980080db88d9365;hp=3665d37799d83ed71d0f86add4da22e7a250a9b6;hb=8d53f8869f85b46ec3495db74565a241f33fe2cc;hpb=995715ebf9935a64f0321c09a527538706aa3cb7 diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl index 3665d37..cd5427a 100755 --- a/inspector/virt-inspector.pl +++ b/inspector/virt-inspector.pl @@ -307,7 +307,7 @@ if ($output eq "fish" || $output eq "ro-fish") { # Have to mount / first. Luckily '/' is early in the ASCII # character set, so this should be OK. foreach (sort keys %$mounts) { - print "-m $mounts->{$_}:$_ " if $_ ne "swap"; + print "-m $mounts->{$_}:$_ " if $_ ne "swap" && $_ ne "none"; } print "\n" } @@ -769,6 +769,8 @@ from L. Richard W.M. Jones L +Matthew Booth L + =head1 COPYRIGHT Copyright (C) 2009 Red Hat Inc.