diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-29 12:55:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-29 12:55:52 +0000 |
commit | 18f99365371c0fa34b22e4011feafee2813ae36d (patch) | |
tree | d716612112e75149870e9043463f167f56442c34 /perl-install/fsedit.pm | |
parent | 979f53cdbfb1ce6e9330e3d2d63f5da148f6ddfa (diff) | |
download | drakx-backup-do-not-use-18f99365371c0fa34b22e4011feafee2813ae36d.tar drakx-backup-do-not-use-18f99365371c0fa34b22e4011feafee2813ae36d.tar.gz drakx-backup-do-not-use-18f99365371c0fa34b22e4011feafee2813ae36d.tar.bz2 drakx-backup-do-not-use-18f99365371c0fa34b22e4011feafee2813ae36d.tar.xz drakx-backup-do-not-use-18f99365371c0fa34b22e4011feafee2813ae36d.zip |
in is_same_hd(), both hds can have {device} unset, it doesn't mean they are the same
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}; } } |