From 18f99365371c0fa34b22e4011feafee2813ae36d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 29 Jun 2004 12:55:52 +0000 Subject: in is_same_hd(), both hds can have {device} unset, it doesn't mean they are the same --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 5e01c0839..921d96d63 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -331,7 +331,7 @@ sub is_same_hd { } else { $hd1->{devfs_device} && $hd2->{devfs_device} && $hd1->{devfs_device} eq $hd2->{devfs_device} || $hd1->{device_LABEL} && $hd2->{device_LABEL} && $hd1->{device_LABEL} eq $hd2->{device_LABEL} - || $hd1->{device} eq $hd2->{device}; + || $hd1->{device} && $hd2->{device} && $hd1->{device} eq $hd2->{device}; } } -- cgit v1.2.1