diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-27 18:14:15 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-28 09:48:46 +0100 |
commit | 123610f1b5133a9e541a245467f60d065ea96575 (patch) | |
tree | ec042ed52f758294a5ea8098930dd7d4860612e1 /perl/lib | |
parent | 14bb3b5ae75f41af05ca6d26ebbb5e85aacf2e20 (diff) | |
download | libguestfs-123610f1b5133a9e541a245467f60d065ea96575.tar.gz libguestfs-123610f1b5133a9e541a245467f60d065ea96575.tar.xz libguestfs-123610f1b5133a9e541a245467f60d065ea96575.zip |
Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"
This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656.
Diffstat (limited to 'perl/lib')
-rw-r--r-- | perl/lib/Sys/Guestfs/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 188d735a..4f094dea 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -894,7 +894,7 @@ sub _find_filesystem my $label = $1; foreach (sort keys %$fses) { if (exists $fses->{$_}->{label} && - $fses->{$_}->{label} =~ /$label/i) { + $fses->{$_}->{label} eq $label) { return ($_, $fses->{$_}); } } |